Skip to content

Commit

Permalink
Removed unneded percent checking
Browse files Browse the repository at this point in the history
  • Loading branch information
igorbt committed Oct 10, 2015
1 parent 3ca83aa commit d2b53f3
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/slider.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -477,7 +477,6 @@ const Slider = React.createClass({
},

_updateWithChangeEvent(e, percent) {
if (this.state.percent === percent) return;
this.setPercent(percent, () => {
if (this.props.onChange) this.props.onChange(e, this.state.value);
});
Expand Down

0 comments on commit d2b53f3

Please sign in to comment.