From 1d30c9413cf25cd53b2a64246e92cdd361ee2d74 Mon Sep 17 00:00:00 2001 From: cyberbeat <cyberbeat@gmx.de> Date: Tue, 22 Dec 2015 19:47:49 +0100 Subject: [PATCH] Indentation --- plugins/UserCountryMap/javascripts/realtime-map.js | 6 +++--- 1 file 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); -- GitLab