From b1275032f58e828a30b3194748e58577d9b15def Mon Sep 17 00:00:00 2001 From: Simon Kornblith Date: Tue, 27 Sep 2011 14:51:15 +0000 Subject: [PATCH] Fix dragging links to Z standalone --- chrome/content/zotero/zoteroPane.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chrome/content/zotero/zoteroPane.js b/chrome/content/zotero/zoteroPane.js index 10ad337be..829bad478 100644 --- a/chrome/content/zotero/zoteroPane.js +++ b/chrome/content/zotero/zoteroPane.js @@ -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); }