Skip to content

Commit c1bde10

Browse files
author
Valentin Hervieu
committed
Remove the delta checking in updateLowHandle because it leads to hard-to-debug bugs. Closes # 156.
1 parent bf838db commit c1bde10

File tree

3 files changed

+2
-10
lines changed

3 files changed

+2
-10
lines changed

dist/rzslider.js

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -473,7 +473,7 @@ function throttle(func, wait, options) {
473473
{
474474
this.updateLowHandle(this.valueToOffset(this.scope.rzSliderModel));
475475

476-
/*
476+
/*
477477
the order here is important since the selection bar should be
478478
updated after the high handle but before the combined label
479479
*/
@@ -820,10 +820,6 @@ function throttle(func, wait, options) {
820820
*/
821821
updateLowHandle: function(newOffset)
822822
{
823-
var delta = Math.abs(this.minH.rzsl - newOffset);
824-
825-
if(this.minLab.rzsv && delta < 1) { return; }
826-
827823
this.setLeft(this.minH, newOffset);
828824
this.translateFn(this.scope.rzSliderModel, this.minLab);
829825
this.setLeft(this.minLab, newOffset - this.minLab.rzsw / 2 + this.handleHalfWidth);

0 commit comments

Comments
 (0)