Fix dragging links to Z standalone
This commit is contained in:
parent
7fa67b32d4
commit
b1275032f5
|
@ -3159,7 +3159,7 @@ var ZoteroPane = new function()
|
||||||
|
|
||||||
|
|
||||||
this.addItemFromURL = function (url, itemType, saveSnapshot, row) {
|
this.addItemFromURL = function (url, itemType, saveSnapshot, row) {
|
||||||
if (url == window.content.document.location.href) {
|
if (window.content && url == window.content.document.location.href) {
|
||||||
return this.addItemFromPage(itemType, saveSnapshot, row);
|
return this.addItemFromPage(itemType, saveSnapshot, row);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user