diff options
author | Matthieu Aubry <matt@piwik.org> | 2015-12-21 02:09:32 +0300 |
---|---|---|
committer | Matthieu Aubry <matt@piwik.org> | 2015-12-21 02:09:32 +0300 |
commit | a125bff7a7ea34827b1343ddbccb32dc0cbb8835 (patch) | |
tree | 9a222fe538c7f106316bd64267d1e03e298f4b50 /plugins/UserCountryMap | |
parent | d71ba20af6475ceed1eb15ff0b1dedf935499e45 (diff) |
Revert "Fixes visitor map height calculation bug"
Diffstat (limited to 'plugins/UserCountryMap')
-rw-r--r-- | plugins/UserCountryMap/javascripts/visitor-map.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/UserCountryMap/javascripts/visitor-map.js b/plugins/UserCountryMap/javascripts/visitor-map.js index a74a89fa90..b3b6d747a1 100644 --- a/plugins/UserCountryMap/javascripts/visitor-map.js +++ b/plugins/UserCountryMap/javascripts/visitor-map.js @@ -1257,7 +1257,7 @@ resize: function () { var ratio, w, h, map = this.map, - maxHeight = $(window).height() - (this.theWidget && this.theWidget.isMaximised ? 150 : ($('html').height() - map.container.height())); + maxHeight = $(window).height() - (this.theWidget && this.theWidget.isMaximised ? 150 : 79); ratio = map.viewAB.width / map.viewAB.height; w = map.container.width(); h = w / ratio; |