Fix Quick Copy in tab mode
This commit is contained in:
parent
9574de752d
commit
15a0a33ac1
|
@ -111,11 +111,13 @@ Zotero.QuickCopy = new function() {
|
||||||
var urlHostPort = nsIURI.hostPort;
|
var urlHostPort = nsIURI.hostPort;
|
||||||
var urlPath = nsIURI.path;
|
var urlPath = nsIURI.path;
|
||||||
}
|
}
|
||||||
catch (e) {
|
catch (e) {}
|
||||||
|
|
||||||
|
// Skip about:, chrome:, etc.
|
||||||
|
if (!urlHostPort) {
|
||||||
return quickCopyPref;
|
return quickCopyPref;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
var matches = [];
|
var matches = [];
|
||||||
|
|
||||||
var sql = "SELECT key AS domainPath, value AS format FROM settings "
|
var sql = "SELECT key AS domainPath, value AS format FROM settings "
|
||||||
|
|
Loading…
Reference in New Issue
Block a user