diff options
Diffstat (limited to 'plugins/UserCountryMap/javascripts/visitor-map.js')
-rw-r--r-- | plugins/UserCountryMap/javascripts/visitor-map.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/UserCountryMap/javascripts/visitor-map.js b/plugins/UserCountryMap/javascripts/visitor-map.js index 9597152095..b6a1a24d51 100644 --- a/plugins/UserCountryMap/javascripts/visitor-map.js +++ b/plugins/UserCountryMap/javascripts/visitor-map.js @@ -310,7 +310,7 @@ $$('.UserCountryMap_map').off('click').click(zoomOut); // handle window resizes - $(window).off('resize').resize(onResizeLazy); + $(window).off('resize', onResizeLazy).resize(onResizeLazy); // enable metric changes $$('.userCountryMapSelectMetrics').off('change').change(function () { @@ -1271,8 +1271,8 @@ map.container.height(h - 2); map.resize(w, h); - if (w < 355) $('.tableIcon span').hide(); - else $('.tableIcon span').show(); + if (w < 355) $('.UserCountryMap .tableIcon span').hide(); + else $('.UserCountryMap .tableIcon span').show(); }, /* |