Don't update citations that haven't changed, even on refresh
This commit is contained in:
parent
517d80f4dd
commit
f9b823d0e8
|
@ -844,7 +844,7 @@ Zotero.Integration.Document.prototype._updateDocument = function(forceCitations,
|
||||||
isRich = true;
|
isRich = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(forceCitations || citation.properties.formattedCitation !== formattedCitation) {
|
if(citation.properties.formattedCitation !== formattedCitation) {
|
||||||
// Check if citation has been manually modified
|
// Check if citation has been manually modified
|
||||||
if(!ignoreCitationChanges && citation.properties.plainCitation) {
|
if(!ignoreCitationChanges && citation.properties.plainCitation) {
|
||||||
var plainCitation = field.getText();
|
var plainCitation = field.getText();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user