Allow user to type :)

pull/1081/head
Andrew Watkins 2017-03-29 12:23:04 -07:00
parent 0d26936a14
commit 359ff48077
1 changed files with 1 additions and 2 deletions

View File

@ -24,9 +24,8 @@ const RawQueryEditor = React.createClass({
},
handleKeyDown(e) {
e.preventDefault()
if (e.keyCode === ENTER) {
e.preventDefault()
this.handleUpdate();
} else if (e.keyCode === ESCAPE) {
this.setState({value: this.props.query.rawText}, () => {