File tree 2 files changed +1
-7
lines changed
2 files changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -61,11 +61,6 @@ angular.module('ui.bootstrap-slider', [])
61
61
setBooleanOption ( 'naturalarrowkeys' , attrs . naturalarrowkeys , false ) ;
62
62
setBooleanOption ( 'reversed' , attrs . reversed , false ) ;
63
63
64
- // if the value is undefined then use the model
65
- if ( $scope . value === 'undefined' ) {
66
- $scope . value = $scope . ngModel ;
67
- }
68
-
69
64
setBooleanOption ( 'range' , $scope . range , false ) ;
70
65
if ( options . range ) {
71
66
if ( angular . isArray ( $scope . value ) ) {
Original file line number Diff line number Diff line change 102
102
max ="testOptions.max "
103
103
range ="range "
104
104
tooltipseparator ="{{ testOptions.tooltipseparator }} "
105
- tooltipsplit ="{{ testOptions.tooltipsplit }} "
106
- >
105
+ tooltipsplit ="{{ testOptions.tooltipsplit }} ">
107
106
</ span >
108
107
Model: {{model.second | json}}< br >
109
108
Value: {{value.second | json}}< br >
You can’t perform that action at this time.
0 commit comments