diff --git a/notebook/static/notebook/js/shortcuteditor.js b/notebook/static/notebook/js/shortcuteditor.js index 0fd51c71c..d404d8dc0 100644 --- a/notebook/static/notebook/js/shortcuteditor.js +++ b/notebook/static/notebook/js/shortcuteditor.js @@ -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',