Skip to content
Snippets Groups Projects
Commit ad3f37d1 authored by Nikolaus Krismer's avatar Nikolaus Krismer
Browse files

fixed jsHint warnings

parent f6346b06
No related branches found
No related tags found
No related merge requests found
...@@ -222,14 +222,14 @@ define(['jQuery', 'leaflet', 'console', 'map/layer/bing','map/layer/google', 'ma ...@@ -222,14 +222,14 @@ define(['jQuery', 'leaflet', 'console', 'map/layer/bing','map/layer/google', 'ma
map.removeControl(wsWarningControl); map.removeControl(wsWarningControl);
wsWarningControl = null; wsWarningControl = null;
} }
}; }
function warningIndicatorShow() { function warningIndicatorShow() {
if (wsWarningControl === null) { if (wsWarningControl === null) {
wsWarningControl = new WsWarningControl(); wsWarningControl = new WsWarningControl();
map.addControl(wsWarningControl); map.addControl(wsWarningControl);
} }
}; }
} }
// Public static field // Public static field
......
define(['leaflet', 'console'], function(L, logger) { define(['leaflet'], function(L) {
L.WsWarningControl = L.Control.extend({ L.WsWarningControl = L.Control.extend({
options: { options: {
position: 'bottomleft' position: 'bottomleft'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment