A little more Quick Copy safety
This commit is contained in:
parent
f07fe7184d
commit
ebe08836e8
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue