From 60386abea41ac83166d6b2a3a525ddff447226e5 Mon Sep 17 00:00:00 2001 From: Alexis Lahouze Date: Mon, 8 Feb 2016 00:17:37 +0100 Subject: [PATCH] Add missing var. --- accountant/frontend/static/js/operations.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/accountant/frontend/static/js/operations.js b/accountant/frontend/static/js/operations.js index 173e240..c75f17c 100644 --- a/accountant/frontend/static/js/operations.js +++ b/accountant/frontend/static/js/operations.js @@ -121,7 +121,7 @@ accountantApp }; $scope.brightenColor = function(color) { - brightness = 0.2; + var brightness = 0.2; return Highcharts.Color(color).brighten(brightness).get(); };