Closes #642, Site-specific Quick Copy setting should apply to shortcut key

This commit is contained in:
Dan Stillman 2007-09-15 19:38:50 +00:00
parent cab00114c0
commit 9e6d6c5376
2 changed files with 2 additions and 2 deletions

View File

@ -1113,7 +1113,8 @@ var ZoteroPane = new function()
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 (asCitations) {

View File

@ -46,7 +46,6 @@ Zotero.QuickCopy = new function() {
}
catch (e) {
return Zotero.Prefs.get("export.quickCopy.setting");
return;
}
var matches = [];