fix overclick

This commit is contained in:
Alexey Kasyanchuk
2017-02-06 16:08:12 +03:00
parent f226bdb251
commit 2d08c406e6

View File

@ -271,6 +271,7 @@ export default class Search extends Component {
floatingLabelFixed={true}
value={this.state.orderBy}
onChange={(event, index, value) => {
event.preventDefault(); // fix overclick on torrent
if(value === 'none') {
this.setState({orderBy: null}, () => {
this.search(true)