diff --git a/chrome/content/zotero/standalone/basicViewer.js b/chrome/content/zotero/standalone/basicViewer.js index 174e45c85..76fb271d2 100644 --- a/chrome/content/zotero/standalone/basicViewer.js +++ b/chrome/content/zotero/standalone/basicViewer.js @@ -40,10 +40,8 @@ window.addEventListener("load", function() { // show document browser.loadURI.apply(browser, window.arguments); -}, false); - -// XXX Why is this necessary to make the scroll bars appear? -window.addEventListener("load", function() { + + // XXX Why is this necessary to make the scroll bars appear? window.setTimeout(function() { document.getElementById("my-browser").style.overflow = "auto"; }, 0);