mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-29 03:42:26 +01:00
Make things not explode.
This commit is contained in:
@@ -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