diff --git a/app/assets/javascripts/darkswarm/services/map.js.coffee b/app/assets/javascripts/darkswarm/services/map.js.coffee index 8d7a5dd0cf..bd4f007b53 100644 --- a/app/assets/javascripts/darkswarm/services/map.js.coffee +++ b/app/assets/javascripts/darkswarm/services/map.js.coffee @@ -19,7 +19,7 @@ Darkswarm.factory "OfnMap", (Enterprises, EnterpriseListModal, MapConfiguration) extend: (enterprise) -> marker = @coordinates[[enterprise.latitude, enterprise.longitude]] self = this - if !marker + if marker marker.icon = MapConfiguration.options.cluster_icon self.enterprise_hash(marker.enterprises, enterprise) marker.id.push(enterprise.id)