dataviz: add missing closing bracket in js selector

This commit is contained in:
Frédéric Péters 2015-12-05 12:49:52 +01:00
parent 2299a3376c
commit e732fc0cb7
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ $(function() {
percentColors: [[0.0, "#a9d70b" ], [0.8, "#f9c802"], [1.0, "#ff0000"]],
generateGradient: true
};
$('[data-combo-gauge').each(function(idx, elem) {
$('[data-combo-gauge]').each(function(idx, elem) {
var target = $(elem).find('canvas')[0];
var gauge = new Gauge(target).setOptions(opts);
gauge.maxValue = parseInt($(elem).data('gauge-max-value'))