Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthieu Aubry <matt@piwik.org>2015-12-21 02:09:32 +0300
committerMatthieu Aubry <matt@piwik.org>2015-12-21 02:09:32 +0300
commita125bff7a7ea34827b1343ddbccb32dc0cbb8835 (patch)
tree9a222fe538c7f106316bd64267d1e03e298f4b50 /plugins/UserCountryMap
parentd71ba20af6475ceed1eb15ff0b1dedf935499e45 (diff)
Revert "Fixes visitor map height calculation bug"
Diffstat (limited to 'plugins/UserCountryMap')
-rw-r--r--plugins/UserCountryMap/javascripts/visitor-map.js2
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;