From 36ca1b0bafc7c72f4c210aa8f7bd43e52be3adf9 Mon Sep 17 00:00:00 2001 From: "Brian E. Granger" Date: Wed, 29 Jan 2014 22:12:07 -0800 Subject: [PATCH] Dont' force command mode in kbm.register_events. --- IPython/html/static/notebook/js/keyboardmanager.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/IPython/html/static/notebook/js/keyboardmanager.js b/IPython/html/static/notebook/js/keyboardmanager.js index 1e6a50cdd..7afd4ccfb 100644 --- a/IPython/html/static/notebook/js/keyboardmanager.js +++ b/IPython/html/static/notebook/js/keyboardmanager.js @@ -740,18 +740,15 @@ var IPython = (function (IPython) { KeyboardManager.prototype.register_events = function (e) { var that = this; e.on('focusin', function () { - that.command_mode(); that.disable(); }); e.on('focusout', function () { - that.command_mode(); that.enable(); }); // There are times (raw_input) where we remove the element from the DOM before // focusout is called. In this case we bind to the remove event of jQueryUI, // which gets triggered upon removal. e.on('remove', function () { - that.command_mode(); that.enable(); }); }