diff --git a/chrome/content/zotero/integration/quickFormat.js b/chrome/content/zotero/integration/quickFormat.js index ea3010b5aa..91baa18324 100644 --- a/chrome/content/zotero/integration/quickFormat.js +++ b/chrome/content/zotero/integration/quickFormat.js @@ -262,7 +262,7 @@ var Zotero_QuickFormat = new function () { if(m.index === 0) { // add to previous cite var node = _getCurrentEditorTextNode(); - var prevNode = node.previousSibling; + var prevNode = locatorLocked ? node.previousSibling : locatorNode; let citationItem = JSON.parse(prevNode && prevNode.dataset.citationItem || "null"); if (citationItem) { citationItem.locator = m[2];