diff --git a/chrome/content/zotero/browser.js b/chrome/content/zotero/browser.js index e0e8ef944..d6d53ef9e 100644 --- a/chrome/content/zotero/browser.js +++ b/chrome/content/zotero/browser.js @@ -288,11 +288,7 @@ var Zotero_Browser = new function() { Zotero_Browser.updateStatus(); }, false); // this is for pageshow, for updating the status of the book icon - this.appcontent.addEventListener("pageshow", - function(e) { - //Zotero.debug("pageshow"); - Zotero_Browser.contentLoad(e); - }, true); + this.appcontent.addEventListener("pageshow", contentLoad, true); // this is for turning off the book icon when a user navigates away from a page this.appcontent.addEventListener("pagehide", function(e) { @@ -374,9 +370,11 @@ var Zotero_Browser = new function() { // Figure out what browser this contentDocument is associated with var browser; - for(var i=0; i