From a35329f6251257c6b1e1c17f01cc30854c034a0d Mon Sep 17 00:00:00 2001 From: Doug Kearns Date: Fri, 8 Aug 2008 07:53:11 +0000 Subject: [PATCH] fix typo in exitPopupMode() --- content/events.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/events.js b/content/events.js index 6f75b483..058bef51 100644 --- a/content/events.js +++ b/content/events.js @@ -308,7 +308,7 @@ liberator.Events = function () //{{{ function exitPopupMode() { // gContextMenu is set to NULL by Firefox, when a context menu is closed - if (typeof gContextMenu != "undefined" && gContextMenu == NULL && !activeMenubar) + if (typeof gContextMenu != "undefined" && gContextMenu == null && !activeMenubar) liberator.modes.remove(liberator.modes.MENU); } function enterMenuMode()