aboutsummaryrefslogtreecommitdiff
path: root/leaflet-indoor.js
diff options
context:
space:
mode:
Diffstat (limited to 'leaflet-indoor.js')
-rw-r--r--leaflet-indoor.js3
1 files changed, 0 insertions, 3 deletions
diff --git a/leaflet-indoor.js b/leaflet-indoor.js
index 4daa40c..f31ecb2 100644
--- a/leaflet-indoor.js
+++ b/leaflet-indoor.js
@@ -214,9 +214,6 @@ L.Control.Level = L.Control.extend({
return div;
},
_levelChange: function(e) {
- // Probably won't work in some browsers, see
- // https://developer.mozilla.org/en-US/docs/Web/API/element.classList
-
if (this._map !== null) {
if (typeof e.oldLevel !== "undefined")
this._buttons[e.oldLevel].style.backgroundColor = "#FFFFFF";