Backed out changeset 423594fd6c7e (bug 1325570) for eslint failure

This commit is contained in:
Carsten "Tomcat" Book 2017-01-04 12:27:12 +01:00
parent d0c98f987e
commit d05d412856

View File

@ -49,10 +49,7 @@ module.exports = createClass({
window.removeEventListener("keydown", this.onKeyDown, true);
},
onDeviceCheckboxClick({ button, target }) {
if (button !== 0){
return;
}
onDeviceCheckboxClick({ target }) {
this.setState({
[target.value]: !this.state[target.value]
});