Skip to content

Commit 2150f30

Browse files
authored
Merge pull request seiyria#136 from cloudron-io/master
Watch the ticks array for changes
2 parents 601840d + 5dc08ca commit 2150f30

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

slider.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ angular.module('ui.bootstrap-slider', [])
210210
}
211211

212212

213-
var watchers = ['min', 'max', 'step', 'range', 'scale', 'ticksLabels'];
213+
var watchers = ['min', 'max', 'step', 'range', 'scale', 'ticksLabels', 'ticks'];
214214
angular.forEach(watchers, function (prop) {
215215
$scope.$watch(prop, function () {
216216
slider = initSlider();

0 commit comments

Comments
 (0)