diff options
author | Willi <willi@jups42.de> | 2012-12-02 15:48:37 +0100 |
---|---|---|
committer | Willi <willi@jups42.de> | 2012-12-02 15:48:37 +0100 |
commit | 341797bc84fc0672e4eda0e79de815e7c2b123c8 (patch) | |
tree | fe5173fd659a823d95f0844aece22424a9e4fe80 | |
parent | c2e6cb5ed6e35c42659f10f7e5703798938335a6 (diff) | |
download | health-map-341797bc84fc0672e4eda0e79de815e7c2b123c8.tar health-map-341797bc84fc0672e4eda0e79de815e7c2b123c8.tar.gz |
removed obsolete line
-rw-r--r-- | resources/map.js | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/resources/map.js b/resources/map.js index b9edc79..6c7fbdf 100644 --- a/resources/map.js +++ b/resources/map.js @@ -44,7 +44,6 @@ $(document).ready(function() { self.layers = L.control.layers(null, { "Hospitals" : self.hospitalLayer }).addTo(map); - _.each(filteredLayers, function(layer, i) { self.layers.addOverlay(layer, self.hospitalAttributes[i]); }); @@ -116,11 +115,10 @@ $(document).ready(function() { if (isHierarchical.exec(key)) { key = key.split(':')[1]; } - if (!_.contains(self.hospitalAttributes, key) && isBoolean(val)) { + if ((!_.contains(self.hospitalAttributes, key)) && isBoolean(val)) { self.hospitalAttributes.push(key); } }); - self.hospitalAttributes; } function geojsonLayer() { |