--- a/cms/app-client/app/components/visu-carto.js Wed Sep 28 15:58:18 2016 +0200
+++ b/cms/app-client/app/components/visu-carto.js Wed Sep 28 17:24:02 2016 +0200
@@ -82,7 +82,7 @@
};
var departments = self.get('geostats').find(geostat => geostat.id === area.id);
if(typeof departments === 'undefined') {
- object['mouseEnabled'] = false,
+ object['mouseEnabled'] = false;
object['color'] = self.get('color');
} else {
object['value'] = departments.get('count');
@@ -133,7 +133,7 @@
};
var continent = self.get('geostats').find(geostat => geostat.id === area.id);
if(typeof continent === 'undefined') {
- object['mouseEnabled'] = false,
+ object['mouseEnabled'] = false;
object['color'] = self.get('color');
} else {
object['value'] = continent.get('count');
@@ -149,8 +149,7 @@
},
createAmMap: function() {
- var self = this;
-
+
this.setContinentsAreas();
this.set('dataProvider', {
'mapVar': this.get('continentsMapVar'),