Don't throw an error (accessing the document domain propety) when loading a Zotero report
This commit is contained in:
parent
8710875fdb
commit
8218ef7ec4
|
@ -146,7 +146,12 @@ Zotero_Ingester_Interface.contentLoad = function(event) {
|
|||
var doc = event.originalTarget;
|
||||
var rootDoc = doc;
|
||||
|
||||
if(!doc.domain) {
|
||||
try {
|
||||
if (!doc.domain) {
|
||||
return;
|
||||
}
|
||||
}
|
||||
catch (e) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user