www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README | LICENSE

commit f00e5501e9ec678ef1b92b3a1e217fba359d286a
parent 97f214c9dca35cef7c60e7c8efe226dda913ba26
Author: Dan Stillman <dstillman@zotero.org>
Date:   Wed, 11 Jun 2008 08:57:41 +0000

Addresses #1037, Remove Firefox 2–specific code



Diffstat:
Mchrome/content/zotero/xpcom/utilities.js | 3+--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/chrome/content/zotero/xpcom/utilities.js b/chrome/content/zotero/xpcom/utilities.js @@ -784,8 +784,7 @@ Zotero.Utilities.HTTP.processDocuments = function(firstDoc, urls, processor, don var urlIndex = -1; var removeListeners = function() { - var loadEvent = Zotero.isFx2 ? "load" : "pageshow"; - hiddenBrowser.removeEventListener(loadEvent, onLoad, true); + hiddenBrowser.removeEventListener("pageshow", onLoad, true); if(!saveBrowser) { Zotero.Browser.deleteHiddenBrowser(hiddenBrowser); }