diff options
author | cyberbeat <cyberbeat@gmx.de> | 2015-12-22 21:47:49 +0300 |
---|---|---|
committer | cyberbeat <cyberbeat@gmx.de> | 2015-12-22 21:47:49 +0300 |
commit | 1d30c9413cf25cd53b2a64246e92cdd361ee2d74 (patch) | |
tree | ef93d4127156b02aeb4f881f9579537c1537d579 /plugins/UserCountryMap/javascripts/realtime-map.js | |
parent | e4faf7cf05a04b1b788abca68f2cc73ce754a06a (diff) |
Indentation
Diffstat (limited to 'plugins/UserCountryMap/javascripts/realtime-map.js')
-rw-r--r-- | plugins/UserCountryMap/javascripts/realtime-map.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/UserCountryMap/javascripts/realtime-map.js b/plugins/UserCountryMap/javascripts/realtime-map.js index ea7f2107d4..5724294276 100644 --- a/plugins/UserCountryMap/javascripts/realtime-map.js +++ b/plugins/UserCountryMap/javascripts/realtime-map.js @@ -505,9 +505,9 @@ }, click: function (d, p, evt) { evt.stopPropagation(); - if (currentMap.length == 2){ // zoom to country + if (currentMap.length == 2){ // zoom to country updateMap(d.iso); - } else if (currentMap != 'world') { // zoom out if zoomed in + } else if (currentMap != 'world') { // zoom out if zoomed in updateMap('world'); } else { // or zoom to continent view otherwise updateMap(UserCountryMap.ISO3toCONT[d.iso]); @@ -524,7 +524,7 @@ stroke: colors['region-stroke-color'] } }); - } + } var lastVisitId = -1, lastReport = []; refreshVisits(true); |