diff --git a/chrome/content/zotero/preferences/preferences.js b/chrome/content/zotero/preferences/preferences.js index df1a9aa1b..a1e8857d0 100644 --- a/chrome/content/zotero/preferences/preferences.js +++ b/chrome/content/zotero/preferences/preferences.js @@ -762,11 +762,18 @@ function deleteSelectedQuickCopySite() { function updateQuickCopyInstructions() { var prefix = Zotero.isMac ? 'Cmd+Shift+' : 'Ctrl+Alt+'; + var key = Zotero.Prefs.get('keys.copySelectedItemsToClipboard'); - - var instr = document.getElementById('quickCopy-instructions'); var str = Zotero.getString('zotero.preferences.export.quickCopy.instructions', prefix + key); + var instr = document.getElementById('quickCopy-instructions'); + while (instr.hasChildNodes()) { + instr.removeChild(instr.firstChild); + } + instr.appendChild(document.createTextNode(str)); + var key = Zotero.Prefs.get('keys.copySelectedItemCitationsToClipboard'); + var str = Zotero.getString('zotero.preferences.export.quickCopy.citationInstructions', prefix + key); + var instr = document.getElementById('quickCopy-citationInstructions'); while (instr.hasChildNodes()) { instr.removeChild(instr.firstChild); } diff --git a/chrome/content/zotero/preferences/preferences.xul b/chrome/content/zotero/preferences/preferences.xul index d28b31ef4..d73f0ad6d 100644 --- a/chrome/content/zotero/preferences/preferences.xul +++ b/chrome/content/zotero/preferences/preferences.xul @@ -507,6 +507,8 @@ To add a new preference: