Commit 564b38d0 authored by Rafal Zajac's avatar Rafal Zajac

Merge branch 'patch-2' of https://github.com/eightyeight/angularjs-slider into eightyeight-patch-2

parents 3ea789d6 cbfa603b
......@@ -749,12 +749,14 @@ function throttle(func, wait, options) {
{
if (this.tracking === this.refLow && newValue >= this.scope[this.refHigh])
{
this.scope[this.tracking] = this.scope[this.refHigh];
this.tracking = this.refHigh;
this.minPtr.removeClass('active');
this.maxPtr.addClass('active');
}
else if(newValue <= this.scope[this.refLow])
{
this.scope[this.tracking] = this.scope[this.refLow];
this.tracking = this.refLow;
this.maxPtr.removeClass('active');
this.minPtr.addClass('active');
......
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