diff --git a/app/js/directives/directive-slider.js b/app/js/directives/directive-slider.js index 357da877..a15a5956 100644 --- a/app/js/directives/directive-slider.js +++ b/app/js/directives/directive-slider.js @@ -68,6 +68,7 @@ angular.module('app').directive('slider', ['$window', function($window) { */ scope.$watch('max', function(newMax, oldMax) { val = newMax * (val / oldMax); // Retain percentage filled + scope.change({ val: val }); render(); });