diff --git a/lib/map.js b/lib/map.js index 52433f3..65bca05 100644 --- a/lib/map.js +++ b/lib/map.js @@ -54,10 +54,9 @@ define(["leaflet", "moment", "leaflet.label"], function (L, moment) { var iconAlert = { color: "#D43E2A", radius: 6, fillOpacity: 0.5, weight: 2, className: "stroke-first node-alert" } var iconNew = { color: "#558020", radius: 6, fillOpacity: 0.5, weight: 2, className: "stroke-first" } - var groupOnline, groupOffline, groupNew, groupLost - return function (linkScale, sidebar, router) { var self = this + var groupOnline, groupOffline, groupNew, groupLost var el = document.createElement("div") el.classList.add("map")