mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-10-17 04:12:32 +02:00
Make things not explode.
This commit is contained in:
1 parent
16ca1f4983
commit
53d6587fc7
4 files changed
+34
-7
No files matched your search
@@ -143,7 +143,7 @@ var Events = Module("events", {
|
||||
this.active.push(elem);
|
||||
}
|
||||
|
||||
this.active = this.active.filter(function (e) e.popupBoxObject.popupState != "closed");
|
||||
this.active = this.active.filter(function (e) e.popupBoxObject && e.popupBoxObject.popupState != "closed");
|
||||
|
||||
if (!this.active.length && !this.activeMenubar)
|
||||
modes.remove(modes.MENU, true);
|
||||
|
||||
Reference in new issue
Block a user