Revert "Potentially fix an issue with LibreOffice when setting a field code for a citation that hasn't changed"
This reverts commit a618d75e5b
.
This shouldn't actually fix anything, because the setText() call would only happen if isRich were set to begin with.
This commit is contained in:
parent
a618d75e5b
commit
aa6a85051a
1 changed files with 1 additions and 1 deletions
|
@ -1477,9 +1477,9 @@ Zotero.Integration.Fields.prototype._updateDocument = function(forceCitations, f
|
|||
|
||||
// If there is no citation, we're deleting it, or we shouldn't update it, ignore it
|
||||
if(!citation || deleteCitations[i]) continue;
|
||||
var isRich = false;
|
||||
|
||||
if(!citation.properties.dontUpdate) {
|
||||
var isRich = false;
|
||||
var formattedCitation = citation.properties.custom
|
||||
? citation.properties.custom : this._session.citationText[i];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue