loleaflet/src/control/Control.Buttons.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 5ff5dc3bea857540bbf9e0bdfce41feb04a6a297 Author: Henry Castro <hcas...@collabora.com> Date: Sun Feb 7 18:38:17 2016 -0400 loleaflet: fix disable state toolbar item diff --git a/loleaflet/src/control/Control.Buttons.js b/loleaflet/src/control/Control.Buttons.js index 40658f6..0b0822c 100644 --- a/loleaflet/src/control/Control.Buttons.js +++ b/loleaflet/src/control/Control.Buttons.js @@ -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'); } } } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits