Fix processDocuments for Fx 17
This commit is contained in:
parent
7d2c4e6b2d
commit
52f4bd8f67
|
@ -533,8 +533,9 @@ Zotero.HTTP = new function() {
|
|||
* @inner
|
||||
*/
|
||||
var onLoad = function() {
|
||||
var doc = hiddenBrowser.contentDocument,
|
||||
url = doc.location.href.toString();
|
||||
var doc = hiddenBrowser.contentDocument;
|
||||
if(!doc) return;
|
||||
var url = doc.location.href.toString();
|
||||
if(url == "about:blank") return;
|
||||
if(doc.readyState === "loading" && firedLoadEvent < 120) {
|
||||
// Try again in a second
|
||||
|
|
Loading…
Reference in New Issue
Block a user