##// END OF EJS Templates
remove recreation of QuickHelp
Paul Ivanov -
Show More
@@ -198,15 +198,13 b' IPython.keyboard = (function (IPython) {'
198 198 this.add_shortcut(shortcut, data[shortcut], true);
199 199 }
200 200 // update the keyboard shortcuts notebook help
201 IPython.quick_help = new IPython.QuickHelp();
201 $([IPython.events]).trigger('rebuild.QuickHelp');
202 202 }
203 203
204 204 ShortcutManager.prototype.remove_shortcut = function (shortcut, suppress_help_update) {
205 205 shortcut = normalize_shortcut(shortcut);
206 206 delete this._counts[shortcut];
207 207 delete this._shortcuts[shortcut];
208 // update the keyboard shortcuts notebook help
209 IPython.quick_help = new IPython.QuickHelp();
210 208 if (!suppress_help_update) {
211 209 // update the keyboard shortcuts notebook help
212 210 $([IPython.events]).trigger('rebuild.QuickHelp');
General Comments 0
You need to be logged in to leave comments. Login now