diff --git a/lib/ext.Cite.js b/lib/ext.Cite.js index 2eaee362d..e9fa7ee04 100644 --- a/lib/ext.Cite.js +++ b/lib/ext.Cite.js @@ -484,7 +484,6 @@ References.prototype.insertReferencesIntoDOM = function(refsNode, refsInReferenc References.prototype.insertMissingReferencesIntoDOM = function (env, node) { var doc = node.ownerDocument, - referencesId = env.newAboutId(), self = this; this.refGroups.forEach(function (refsData, refsGroup) { @@ -493,7 +492,7 @@ References.prototype.insertMissingReferencesIntoDOM = function (env, node) { DU.addAttributes(ol, { 'class': 'references', typeof: 'mw:Extension/references', - about: referencesId + about: env.newAboutId() }); // The new references come out of "nowhere", so to make selser work // propertly, add a zero-sized DSR pointing to the end of the document.