From 7a790a0ea88cd988f56a60a4fc7b9b062dd69089 2014-03-12 01:48:21 From: Paul Ivanov Date: 2014-03-12 01:48:21 Subject: [PATCH] ensure ipython-command-mode icon displayed on load --- diff --git a/IPython/html/static/notebook/js/notebook.js b/IPython/html/static/notebook/js/notebook.js index 05cb955..f6f6bc8 100644 --- a/IPython/html/static/notebook/js/notebook.js +++ b/IPython/html/static/notebook/js/notebook.js @@ -2048,6 +2048,7 @@ var IPython = (function (IPython) { } else { this.select(0); this.handle_command_mode(this.get_cell(0)); + $([IPython.events]).trigger('command_mode.Notebook'); } this.set_dirty(false); this.scroll_to_top();