Skip to content

Commit

Permalink
Merge pull request #9416 from piwik/revert-9415-7284
Browse files Browse the repository at this point in the history
Revert "Fixes visitor map height calculation bug"
  • Loading branch information
Matthieu Aubry committed Dec 20, 2015
2 parents d71ba20 + a125bff commit 1d846cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/UserCountryMap/javascripts/visitor-map.js
Expand Up @@ -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;
Expand Down

0 comments on commit 1d846cf

Please sign in to comment.