loleaflet: remove invalid fonts
Change-Id: Ie0383d01f6040d00c630c0aab6b9a66666d079d3
This commit is contained in:
parent
721003512e
commit
09923cc10b
1 changed files with 3 additions and 0 deletions
|
@ -461,6 +461,9 @@ L.Control.CharacterMap = L.Control.extend({
|
|||
option.innerHTML = this.unicodeBlocks[list[iterator]].name;
|
||||
}, this);
|
||||
this._onUnicodeSubsetChange();
|
||||
} else {
|
||||
L.DomUtil.remove(this._fontNames.options[this._fontNames.selectedIndex]);
|
||||
this._onFontNamesChange();
|
||||
}
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in a new issue