diff --git a/jupyter_notebook/static/notebook/js/keyboardmanager.js b/jupyter_notebook/static/notebook/js/keyboardmanager.js index 883c5f308..be2171b27 100644 --- a/jupyter_notebook/static/notebook/js/keyboardmanager.js +++ b/jupyter_notebook/static/notebook/js/keyboardmanager.js @@ -188,6 +188,7 @@ define([ }; KeyboardManager.prototype.register_events = function (e) { + e = $(e); var that = this; var handle_focus = function () { that.disable();