mirror of
https://github.com/zotero/zotero.git
synced 2026-10-08 03:08:19 +00:00
Don't throw an error (accessing the document domain propety) when loading a Zotero report
This commit is contained in:
parent
8710875fdb
commit
8218ef7ec4
1 changed files with 6 additions and 1 deletions
|
|
@ -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…
Add table
Reference in a new issue