map: group* is a property of instance, not class

This commit is contained in:
Nils Schneider 2015-04-06 15:04:41 +02:00
parent 3b75f01ccd
commit 11c689eb29

View file

@ -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")