1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-03-04 14:15:47 +01:00

Fix localization bug.

This commit is contained in:
Kris Maglione
2011-07-29 13:46:34 -04:00
parent efb4ae78ba
commit 9f057a6f0d
3 changed files with 12 additions and 4 deletions

View File

@@ -1481,8 +1481,7 @@ var Events = Module("events", {
modes.push(modes.MENU);
},
popuphidden: function onPopupHidden() {
// gContextMenu is set to NULL, when a context menu is closed
popuphidden: function onPopupHidden(event) {
if (window.gContextMenu == null && !this._activeMenubar)
modes.remove(modes.MENU, true);
modes.remove(modes.AUTOCOMPLETE);