diff --git a/IPython/html/static/notebook/js/quickhelp.js b/IPython/html/static/notebook/js/quickhelp.js index fb1f451..c960310 100644 --- a/IPython/html/static/notebook/js/quickhelp.js +++ b/IPython/html/static/notebook/js/quickhelp.js @@ -67,35 +67,7 @@ var IPython = (function (IPython) { QuickHelp.prototype.build_command_help = function () { var command_shortcuts = IPython.keyboard_manager.command_shortcuts.help(); - var help, shortcut; - var i, half, n; - - // Command mode - var cmd_div = $('
').append($('Esc
to enable)Esc
to enable)" + k + "
";
+ continue; // leave individual keys lower-cased
+ }
keys[i] = ( special_case[k] ? special_case[k] : k.charAt(0).toUpperCase() + k.slice(1) );
+ keys[i] = "" + keys[i] + "
";
}
return keys.join('-');
@@ -114,35 +90,32 @@ var IPython = (function (IPython) {
QuickHelp.prototype.build_edit_help = function () {
var edit_shortcuts = IPython.keyboard_manager.edit_shortcuts.help();
- var help, shortcut;
- var i, half, n;
-
// Edit mode
- var edit_div = $('').append($('Enter
to enable)Enter
to enable)