fix menu not opening when navigate is open

pull/402/head
nightwing 2017-03-16 19:19:04 +04:00
rodzic cabbe09c9f
commit 4802a51a01
2 zmienionych plików z 4 dodań i 1 usunięć

Wyświetl plik

@ -142,7 +142,8 @@ define(function(require, exports, module) {
var to = e.toElement;
if (!to || apf.isChildOf(winCommands, to, true))
return;
if (to.localName == "menu")
return;
// TODO add better support for overlay panels
setTimeout(function() { plugin.hide(); }, 10);
}

Wyświetl plik

@ -282,6 +282,8 @@ define(function(require, exports, module) {
|| lastPreviewed.aml == to))) {
return;
}
if (to.localName == "menu")
return;
// TODO add better support for overlay panels
setTimeout(function() { plugin.hide(); }, 10);