aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2014-05-22 11:24:20 +0100
committerChristopher Baines <mail@cbaines.net>2014-05-22 11:24:20 +0100
commitcb17d6bd556ca5cf879a9ff7a64785bcab57d703 (patch)
tree42e265ee73a324fe268b3e4312a561ddd9a3a433
parentcb980fc85685334ac88d6cc8d2224d219b80006b (diff)
downloadleaflet-indoor-cb17d6bd556ca5cf879a9ff7a64785bcab57d703.tar
leaflet-indoor-cb17d6bd556ca5cf879a9ff7a64785bcab57d703.tar.gz
Remove old comment
-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";