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 15, 2015
1 parent d27fbdb commit bf47902
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 @@ -479,7 +479,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 bf47902

Please sign in to comment.