Prevent duplicate items when copying citations to clipboard
This commit is contained in:
parent
2b8a5ba0b7
commit
4a475ff3aa
2 changed files with 2 additions and 0 deletions
|
@ -439,6 +439,7 @@ var Zotero_File_Interface = new function() {
|
|||
|
||||
// add text (or HTML source)
|
||||
if(!asHTML) {
|
||||
cslEngine = style.getCiteProc(locale);
|
||||
var bibliography = Zotero.Cite.makeFormattedBibliographyOrCitationList(cslEngine, items, "text", asCitations);
|
||||
}
|
||||
var str = Components.classes["@mozilla.org/supports-string;1"].
|
||||
|
|
|
@ -375,6 +375,7 @@ Zotero.QuickCopy = new function() {
|
|||
var style = Zotero.Styles.get(format.id);
|
||||
var cslEngine = style.getCiteProc(locale);
|
||||
var html = Zotero.Cite.makeFormattedBibliographyOrCitationList(cslEngine, items, "html");
|
||||
cslEngine = style.getCiteProc(locale);
|
||||
var text = Zotero.Cite.makeFormattedBibliographyOrCitationList(cslEngine, items, "text");
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue