Merge pull request #3871 from parente/fix/shortcut-editor-enter

Fix Enter causes page reload in shortcuts editor
pull/3914/head
Min RK 8 years ago committed by GitHub
commit 4650dabd05
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -50,6 +50,7 @@ var KeyBinding = createClass({
that.props.onAddBindings(that.state.shrt, that.props.ckey);
}
that.state.shrt='';
event.preventDefault();
return false;
};
return createElement('form', {className:'jupyter-keybindings',

Loading…
Cancel
Save