Fix nsIRequest test for non-client environments

This commit is contained in:
Dan Stillman 2013-03-26 16:15:31 -04:00
parent 0b82266882
commit 014aee1485

View file

@ -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