|
|
@ -335,7 +335,7 @@ BI.IntervalSlider = BI.inherit(BI.Single, { |
|
|
|
valueOne = BI.parseFloat(valueOne); |
|
|
|
valueOne = BI.parseFloat(valueOne); |
|
|
|
valueTwo = BI.parseFloat(valueTwo); |
|
|
|
valueTwo = BI.parseFloat(valueTwo); |
|
|
|
if((oldValueOne <= oldValueTwo && valueOne > valueTwo) || (oldValueOne >= oldValueTwo && valueOne < valueTwo)) { |
|
|
|
if((oldValueOne <= oldValueTwo && valueOne > valueTwo) || (oldValueOne >= oldValueTwo && valueOne < valueTwo)) { |
|
|
|
var isSliderOneLeft = BI.parseFloat(this.sliderOne.element[0].style.left) < BI.parseFloat(this.sliderTwo.element[0].style.left); |
|
|
|
var isSliderOneLeft = BI.parseFloat(this.labelOne.getValue()) < BI.parseFloat(this.labelTwo.getValue()); |
|
|
|
this._resetLabelPosition(!isSliderOneLeft); |
|
|
|
this._resetLabelPosition(!isSliderOneLeft); |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
|