commit 56eed344f5dbb348e2e8768c37f1b84dfc0c13b4 parent fa7ca7e2d772270cb3b02e486aa14a9f6f6468c9 Author: Simon Kornblith <simon@simonster.com> Date: Sat, 2 Jul 2011 04:00:12 +0000 Fixes #1826, Quick Copy does not work in Standalone Diffstat:
| M | 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 @@ -1714,7 +1714,7 @@ var ZoteroPane = new function() return; } - var url = window.content.location.href; + var url = (window.content && window.content.location ? window.content.location.href : null); var [mode, format] = Zotero.QuickCopy.getFormatFromURL(url).split('='); var [mode, contentType] = mode.split('/');