diff --git a/src/components/views/elements/PowerSelector.js b/src/components/views/elements/PowerSelector.js index 9b886e7cb3..4089c4dd86 100644 --- a/src/components/views/elements/PowerSelector.js +++ b/src/components/views/elements/PowerSelector.js @@ -113,7 +113,7 @@ module.exports = React.createClass({ this.props.onChange(parseInt(this.state.customValue), this.props.powerLevelKey); }, - onCustomKeyPress: function(event) { + onCustomKeyDown: function(event) { if (event.key === "Enter") { event.preventDefault(); event.stopPropagation(); @@ -133,7 +133,7 @@ module.exports = React.createClass({ picker = ( ); } else {