Fix Quick Copy in tab mode

This commit is contained in:
Dan Stillman 2015-07-01 19:36:16 -04:00
parent 9574de752d
commit 15a0a33ac1

View file

@ -111,11 +111,13 @@ Zotero.QuickCopy = new function() {
var urlHostPort = nsIURI.hostPort;
var urlPath = nsIURI.path;
}
catch (e) {
catch (e) {}
// Skip about:, chrome:, etc.
if (!urlHostPort) {
return quickCopyPref;
}
var matches = [];
var sql = "SELECT key AS domainPath, value AS format FROM settings "