From cbc05baf0293ded03f128351c070064d26fbe6b9 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Wed, 19 Jul 2017 05:30:44 -0400 Subject: [PATCH] Fix error on connector ping before site-specific Quick Copy load --- chrome/content/zotero/xpcom/quickCopy.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chrome/content/zotero/xpcom/quickCopy.js b/chrome/content/zotero/xpcom/quickCopy.js index bc53a6d9f..5bd968bf8 100644 --- a/chrome/content/zotero/xpcom/quickCopy.js +++ b/chrome/content/zotero/xpcom/quickCopy.js @@ -91,7 +91,7 @@ Zotero.QuickCopy = new function() { this.hasSiteSettings = function () { - return _siteSettings.length > 0; + return _siteSettings && _siteSettings.length > 0; };