diff --git a/src/main/webapp/js/isochrone/isoMap.js b/src/main/webapp/js/isochrone/isoMap.js index 87ae69f4ee3b6004e56b65ca8adcb440ef6b7ceb..a5f24e4b9f49d2a9d62d5060cb165c3e8c2d0237 100644 --- a/src/main/webapp/js/isochrone/isoMap.js +++ b/src/main/webapp/js/isochrone/isoMap.js @@ -222,14 +222,14 @@ define(['jQuery', 'leaflet', 'console', 'map/layer/bing','map/layer/google', 'ma map.removeControl(wsWarningControl); wsWarningControl = null; } - }; + } function warningIndicatorShow() { if (wsWarningControl === null) { wsWarningControl = new WsWarningControl(); map.addControl(wsWarningControl); } - }; + } } // Public static field diff --git a/src/main/webapp/js/map/control/wswarning.js b/src/main/webapp/js/map/control/wswarning.js index 2261b71db02571c0d587b7e211eb7dbe9d413389..dc0126ed5c65678ba0bd9cbc1006599756fd0534 100644 --- a/src/main/webapp/js/map/control/wswarning.js +++ b/src/main/webapp/js/map/control/wswarning.js @@ -1,4 +1,4 @@ -define(['leaflet', 'console'], function(L, logger) { +define(['leaflet'], function(L) { L.WsWarningControl = L.Control.extend({ options: { position: 'bottomleft'