Fix dragging links to Z standalone

This commit is contained in:
Simon Kornblith 2011-09-27 14:51:15 +00:00
parent 7fa67b32d4
commit b1275032f5

View File

@ -3159,7 +3159,7 @@ var ZoteroPane = new function()
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);
}