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:
Subramanya Sastry 2014-02-03 14:03:50 -06:00
parent fc7985f5ca
commit 34c33103bf

View file

@ -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();
/* -----------------------------------------------------------------