From a213ad12d049c7c72e498919b92ed79aeea7f4c8 Mon Sep 17 00:00:00 2001 From: Colin McLeod Date: Wed, 7 Oct 2015 02:17:49 -0700 Subject: [PATCH] lint fix --- app/js/directives/directive-power-bands.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/js/directives/directive-power-bands.js b/app/js/directives/directive-power-bands.js index 10b72008..900b0884 100644 --- a/app/js/directives/directive-power-bands.js +++ b/app/js/directives/directive-power-bands.js @@ -102,7 +102,7 @@ angular.module('app').directive('powerBands', ['$window', '$translate', '$rootSc wattAxisGroup.call(wattAxis); vis.selectAll('.pct.axis').attr('transform', 'translate(0,' + innerHeight + ')').call(pctAxis); - var pwrWarningClass = 'threshold' + (bands[0].retractedSum * 2 >= available ? ' exceeded' : '') ; + var pwrWarningClass = 'threshold' + (bands[0].retractedSum * 2 >= available ? ' exceeded' : ''); vis.selectAll('.pct.axis g:nth-child(6)').selectAll('line, text').attr('class', pwrWarningClass); wattAxisGroup.append('line')