Fix nsIRequest test for non-client environments
This commit is contained in:
parent
0b82266882
commit
014aee1485
1 changed files with 1 additions and 1 deletions
|
@ -1136,7 +1136,7 @@ Zotero.Utilities = {
|
|||
}
|
||||
|
||||
if (typeof(arr) == 'object') { // Array/Hashes/Objects
|
||||
let isRequest = ((Zotero.isFx && !Zotero.isBookmarklet) || Zotero.isStandalone)
|
||||
var isRequest = Zotero.isFx && !Zotero.isBookmarklet
|
||||
&& arr instanceof Components.interfaces.nsIRequest;
|
||||
|
||||
//array for checking recursion
|
||||
|
|
Loading…
Reference in a new issue