loleaflet: fix disable state toolbar item
This commit is contained in:
parent
686a531287
commit
587dde0908
1 changed files with 1 additions and 1 deletions
|
@ -125,7 +125,7 @@ L.Control.Buttons = L.Control.extend({
|
|||
L.DomUtil.removeClass(button.el.firstChild, 'leaflet-control-buttons-disabled');
|
||||
}
|
||||
else if (state === 'disabled') {
|
||||
L.DomUtil.removeClass(button.el.firstChild, 'leaflet-control-buttons-disabled');
|
||||
L.DomUtil.addClass(button.el.firstChild, 'leaflet-control-buttons-disabled');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue