mirror of
https://github.com/zotero/zotero.git
synced 2026-10-11 03:38:25 +00:00
Fix processDocuments for Fx 17
This commit is contained in:
parent
7d2c4e6b2d
commit
52f4bd8f67
1 changed files with 3 additions and 2 deletions
|
|
@ -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…
Add table
Reference in a new issue