Skip to content

Commit

Permalink
Merge pull request #235 from MohammadYounes/handleSelection
Browse files Browse the repository at this point in the history
Handle selection
  • Loading branch information
IonDen committed May 16, 2015
2 parents 1e52387 + 2dc8cd0 commit 1bcb218
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/ion.rangeSlider.js
Original file line number Diff line number Diff line change
Expand Up @@ -892,9 +892,9 @@
} else {
var m_point = this.coords.p_from_real + ((this.coords.p_to_real - this.coords.p_from_real) / 2);
if (real_x >= m_point) {
return "to";
return this.options.to_fixed ? "from" : "to";
} else {
return "from";
return this.options.from_fixed ? "to" : "from";
}
}
},
Expand Down

0 comments on commit 1bcb218

Please sign in to comment.