diff options
author | Gregor Aisch <contact@vis4.net> | 2013-03-06 03:20:48 +0400 |
---|---|---|
committer | Gregor Aisch <contact@vis4.net> | 2013-03-06 03:20:48 +0400 |
commit | e0cbf831bb17310c9b0c5144c78b3d5894be7120 (patch) | |
tree | e986abf8816c00623e1aa8bf51d94c72be55a0cf /plugins | |
parent | 086aec07108e7136db871e29b4cc30d8cc7e443d (diff) |
fixed bug: hex() is not a function
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/UserCountryMap/js/visitor-map.js | 2 |
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); |