Don't save before CSS has been loaded
This commit is contained in:
parent
58c8e7ccfc
commit
18f7bf1112
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue