Closes #642, Site-specific Quick Copy setting should apply to shortcut key
This commit is contained in:
parent
cab00114c0
commit
9e6d6c5376
|
@ -1113,7 +1113,8 @@ var ZoteroPane = new function()
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
var [mode, format] = Zotero.Prefs.get("export.quickCopy.setting").split('=');
|
var url = window.content.location.href;
|
||||||
|
var [mode, format] = Zotero.QuickCopy.getFormatFromURL(url).split('=');
|
||||||
|
|
||||||
if (mode == 'bibliography') {
|
if (mode == 'bibliography') {
|
||||||
if (asCitations) {
|
if (asCitations) {
|
||||||
|
|
|
@ -46,7 +46,6 @@ Zotero.QuickCopy = new function() {
|
||||||
}
|
}
|
||||||
catch (e) {
|
catch (e) {
|
||||||
return Zotero.Prefs.get("export.quickCopy.setting");
|
return Zotero.Prefs.get("export.quickCopy.setting");
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
var matches = [];
|
var matches = [];
|
||||||
|
|
Loading…
Reference in New Issue
Block a user