0.0.76 upd range-slider
This commit is contained in:
@@ -235,7 +235,7 @@ function sliderInit() {
|
||||
instance,
|
||||
min = 0,
|
||||
max = 1000,
|
||||
start_value = document.querySelector(".range-slider")
|
||||
start_value = document.querySelector(".range-slider").value;
|
||||
|
||||
$range.ionRangeSlider({
|
||||
skin: "round",
|
||||
@@ -247,7 +247,9 @@ function sliderInit() {
|
||||
grid: true,
|
||||
grid_num: 5,
|
||||
onStart: function(data) {
|
||||
$input.prop("value", data.from);
|
||||
if(data.from > 0){
|
||||
$input.prop("value", data.from);
|
||||
}
|
||||
},
|
||||
onChange: function(data) {
|
||||
$input.prop("value", data.from);
|
||||
|
||||
Reference in New Issue
Block a user