Commit f2d86dea authored by Valentin Hervieu's avatar Valentin Hervieu

Remove useless condition in updateLowHandle. Closes #77

parent ba68aa49
This diff is collapsed.
...@@ -620,7 +620,7 @@ function throttle(func, wait, options) { ...@@ -620,7 +620,7 @@ function throttle(func, wait, options) {
{ {
var delta = Math.abs(this.minH.rzsl - newOffset); var delta = Math.abs(this.minH.rzsl - newOffset);
if(this.minLab.rzsv && delta <= 0 && delta < 1) { return; } if(this.minLab.rzsv && delta < 1) { return; }
this.setLeft(this.minH, newOffset); this.setLeft(this.minH, newOffset);
this.translateFn(this.scope.rzSliderModel, this.minLab); this.translateFn(this.scope.rzSliderModel, this.minLab);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment