app/assets/javascripts/chart_candy/line.coffee in chart-candy-0.0.7 vs app/assets/javascripts/chart_candy/line.coffee in chart-candy-0.0.8

- old
+ new

@@ -257,10 +257,10 @@ for pointer in @pointers then pointer.element.transition().duration(200).style("opacity", 1) if not pointer.element.classed('disabled') @tooltip.transition().duration(200).style("opacity", 1) showTemplate: () -> - if @tools.find('div.holder-template select') + if @tools.find('div.holder-template select').length > 0 template = @tools.find('div.holder-template select').val() else template = @tools.find('div.holder-template div.switch-field input').val() if template is 'chart'