diff --git a/chrome/content/zotero/xpcom/server_connector.js b/chrome/content/zotero/xpcom/server_connector.js index e4ea4ecce9..e57ecc7b0a 100755 --- a/chrome/content/zotero/xpcom/server_connector.js +++ b/chrome/content/zotero/xpcom/server_connector.js @@ -352,7 +352,7 @@ Zotero.Server.Connector.SaveSnapshot.prototype = { var pageShowCalled = false; var cookieSandbox = new Zotero.CookieSandbox(browser, data["url"], data["cookie"]); - browser.addEventListener("DOMContentLoaded", function() { + browser.addEventListener("pageshow", function() { if(browser.contentDocument.location.href == "about:blank") return; if(pageShowCalled) return; pageShowCalled = true;