diff --git a/IPython/html/static/base/js/keyboard.js b/IPython/html/static/base/js/keyboard.js index c009d60..96edd73 100644 --- a/IPython/html/static/base/js/keyboard.js +++ b/IPython/html/static/base/js/keyboard.js @@ -237,7 +237,7 @@ IPython.keyboard = (function (IPython) { return true; } - ShortcutManager.prototype.use_shortcut = function (event) { + ShortcutManager.prototype.handles = function (event) { var shortcut = event_to_shortcut(event); var data = this._shortcuts[shortcut]; return !( data === undefined ) diff --git a/IPython/html/static/notebook/js/cell.js b/IPython/html/static/notebook/js/cell.js index 48702b9..b1ccd39 100644 --- a/IPython/html/static/notebook/js/cell.js +++ b/IPython/html/static/notebook/js/cell.js @@ -173,7 +173,7 @@ var IPython = (function (IPython) { // if this is an edit_shortcuts shortcut, the global keyboard/shortcut // manager will handle it - if (shortcuts.use_shortcut(event)) { return true; } + if (shortcuts.handles(event)) { return true; } return false; };