diff --git a/bootstrap-slider.js b/bootstrap-slider.js index 2191faf..ffea449 100644 --- a/bootstrap-slider.js +++ b/bootstrap-slider.js @@ -72,7 +72,7 @@ this.max = this.element.data('slider-max')||options.max; this.step = this.element.data('slider-step')||options.step; this.value = this.element.data('slider-value')||options.value; - if (this.value[1]) { + if (typeof this.value[1] !== 'undefined' && this.value[1] !== null) { this.range = true; }