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:
authorGregor Aisch <contact@vis4.net>2013-03-06 03:20:48 +0400
committerGregor Aisch <contact@vis4.net>2013-03-06 03:20:48 +0400
commite0cbf831bb17310c9b0c5144c78b3d5894be7120 (patch)
treee986abf8816c00623e1aa8bf51d94c72be55a0cf /plugins
parent086aec07108e7136db871e29b4cc30d8cc7e443d (diff)
fixed bug: hex() is not a function
Diffstat (limited to 'plugins')
-rw-r--r--plugins/UserCountryMap/js/visitor-map.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/UserCountryMap/js/visitor-map.js b/plugins/UserCountryMap/js/visitor-map.js
index fad5221672..1a69b5caad 100644
--- a/plugins/UserCountryMap/js/visitor-map.js
+++ b/plugins/UserCountryMap/js/visitor-map.js
@@ -168,7 +168,7 @@
stats = minmax(values);
if (stats.min == stats.max) {
- colscale = function() { return '#CDDAEF'; };
+ colscale = function() { return chroma.hex('#CDDAEF'); };
if (choropleth) {
$('.UserCountryMap-legend .content').html('').show();
addLegendItem(stats.min, true);