function SliderRange() {
this.init_function_inn = function (element) {
var inputMinVal = $(element).siblings('.from').find('.b-filter-price__input');
var inputMaxVal = $(element).siblings('.to').find('.b-filter-price__input');
if ($(inputMinVal)[0].value === '') {
$(inputMinVal)[0].value = $(element).find('.slider-range__input-min').val();
}
if ($(inputMaxVal)[0].value === '') {
$(inputMaxVal)[0].value = $(element).find('.slider-range__input-max').val();
}
}
this.init_function = function () {
$('.g_slider_range').each(function () {
this_obj.init_function_inn(this);
})
};
this.init_function();
$('.g_slider_range').on('mousedown', function () {
$(this).on('mousemove', function () {
this_obj.init_function_inn(this);
});
});
}