From 38a67ad1eaf9ed1efe5b3962ffd94d0d9ffef135 2014-03-09 21:21:14 From: Paul Ivanov Date: 2014-03-09 21:21:14 Subject: [PATCH] remove recreation of QuickHelp --- diff --git a/IPython/html/static/base/js/keyboard.js b/IPython/html/static/base/js/keyboard.js index 7a8a80f..d3039ee 100644 --- a/IPython/html/static/base/js/keyboard.js +++ b/IPython/html/static/base/js/keyboard.js @@ -198,15 +198,13 @@ IPython.keyboard = (function (IPython) { this.add_shortcut(shortcut, data[shortcut], true); } // update the keyboard shortcuts notebook help - IPython.quick_help = new IPython.QuickHelp(); + $([IPython.events]).trigger('rebuild.QuickHelp'); } ShortcutManager.prototype.remove_shortcut = function (shortcut, suppress_help_update) { shortcut = normalize_shortcut(shortcut); delete this._counts[shortcut]; delete this._shortcuts[shortcut]; - // update the keyboard shortcuts notebook help - IPython.quick_help = new IPython.QuickHelp(); if (!suppress_help_update) { // update the keyboard shortcuts notebook help $([IPython.events]).trigger('rebuild.QuickHelp');