mirror of
https://github.com/zotero/zotero.git
synced 2026-09-22 00:32:47 +00:00
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…
Add table
Reference in a new issue