www

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

commit ebe08836e80cde46b661199450eb8e482a1d4cbc
parent f07fe7184de1cc21a18cf0f9395e63ebd2b03421
Author: Dan Stillman <dstillman@zotero.org>
Date:   Fri,  3 Jul 2015 23:52:30 -0400

A little more Quick Copy safety

Diffstat:
Mchrome/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 @@ -115,7 +115,7 @@ Zotero.QuickCopy = new function() { catch (e) {} // Skip non-HTTP URLs - if (!/^https?$/.test(nsIURI.scheme)) { + if (!nsIURI || !/^https?$/.test(nsIURI.scheme)) { return quickCopyPref; }