Commit a5f14c33 authored by Valentin Hervieu's avatar Valentin Hervieu

Merge pull request #75 from m-spyratos/master

Fixes #74: Range Slider - No label if "Min" is the same as "Floor"
parents 162ae6f5 ddec8649
...@@ -609,7 +609,7 @@ function throttle(func, wait, options) { ...@@ -609,7 +609,7 @@ function throttle(func, wait, options) {
{ {
var delta = Math.abs(this.minH.rzsl - newOffset); var delta = Math.abs(this.minH.rzsl - newOffset);
if(delta <= 0 && delta < 1) { return; } if(this.minLab.rzsv && delta <= 0 && 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