mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Cite
synced 2024-11-24 06:54:00 +00:00
Use Map.delete(..) to remove an entry from a map.
* Fixes crasher on frwiki:Mundos_opuestos_2 with oldid 99313179 Change-Id: Ide5a9594ebc7622bb7ff5fc3d6eac09a0f0e1642
This commit is contained in:
parent
fc7985f5ca
commit
34c33103bf
|
@ -237,7 +237,7 @@ function References(cite) {
|
|||
|
||||
References.prototype.reset = function( group, resetIndex ) {
|
||||
if (group) {
|
||||
this.refGroups.set( group, undefined );
|
||||
this.refGroups.delete(group);
|
||||
} else {
|
||||
this.refGroups = new Map();
|
||||
/* -----------------------------------------------------------------
|
||||
|
|
Loading…
Reference in a new issue