www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README | LICENSE

commit 95fa3bc5547a44cea5ec90e49f102191f1d2ac7e
parent a47174748ec5bfb64747bd2274d59ad2b90506ad
Author: Simon Kornblith <simon@simonster.com>
Date:   Thu, 16 Feb 2012 07:59:42 -0500

Fix an error spotted in an error report

Diffstat:
Mchrome/content/zotero/xpcom/itemTreeView.js | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/chrome/content/zotero/xpcom/itemTreeView.js b/chrome/content/zotero/xpcom/itemTreeView.js @@ -2054,7 +2054,7 @@ Zotero.ItemTreeView.prototype.onDragStart = function (event) { } // Get Quick Copy format for current URL - var url = this._ownerDocument.defaultView.content ? + var url = this._ownerDocument.defaultView.content && this._ownerDocument.defaultView.content.location ? this._ownerDocument.defaultView.content.location.href : null; var format = Zotero.QuickCopy.getFormatFromURL(url);