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:
authorPatryk Andrzejewski <patryk@piwik.pro>2015-06-10 12:19:38 +0300
committerPatryk Andrzejewski <patryk@piwik.pro>2015-06-10 12:19:38 +0300
commita26872e960d99caf4ae8862904a6dd986e7bc493 (patch)
tree2354363b93dd8197b9c9856ee404749a66bba3d7 /plugins/UserCountryMap
parent17a5e4e045a8b38f7b344cd4f6283f1cab32146b (diff)
remove NaN problem, change z-index for map layers
Diffstat (limited to 'plugins/UserCountryMap')
-rw-r--r--plugins/UserCountryMap/javascripts/visitor-map.js2
-rw-r--r--plugins/UserCountryMap/stylesheets/visitor-map.less2
2 files changed, 2 insertions, 2 deletions
diff --git a/plugins/UserCountryMap/javascripts/visitor-map.js b/plugins/UserCountryMap/javascripts/visitor-map.js
index 1c7322c651..831cd2e539 100644
--- a/plugins/UserCountryMap/javascripts/visitor-map.js
+++ b/plugins/UserCountryMap/javascripts/visitor-map.js
@@ -206,7 +206,7 @@
stats = minmax(values);
- if (stats.min == stats.max) {
+ if (stats.min == stats.max && typeof stats.min != 'undefined') {
colscale = function () { return chroma.hex(oneCountryColor); };
if (choropleth) {
$('.UserCountryMap-legend .content').html('').show();
diff --git a/plugins/UserCountryMap/stylesheets/visitor-map.less b/plugins/UserCountryMap/stylesheets/visitor-map.less
index b2e1edb95b..1cabf2da08 100644
--- a/plugins/UserCountryMap/stylesheets/visitor-map.less
+++ b/plugins/UserCountryMap/stylesheets/visitor-map.less
@@ -43,7 +43,7 @@
.UserCountryMap-tooltip {
display: block;
position: absolute;
- z-index: 9;
+ z-index: 15;
}
.UserCountryMap-overlay .content,