diff --git a/IPython/html/static/edit/js/menubar.js b/IPython/html/static/edit/js/menubar.js index d500646..ccd1120 100644 --- a/IPython/html/static/edit/js/menubar.js +++ b/IPython/html/static/edit/js/menubar.js @@ -115,10 +115,6 @@ define([ }); this.events.on("config_changed.Editor", function () { - var lineNumbers = editor.codemirror.getOption('lineNumbers'); - var text = lineNumbers ? "Hide" : "Show"; - text = text + " Line Numbers"; - that.element.find('#menu-line-numbers').find("a").text(text); var keyMap = editor.codemirror.getOption('keyMap') || "default"; that.element.find(".selected-keymap").removeClass("selected-keymap"); that.element.find("#menu-keymap-" + keyMap).addClass("selected-keymap"); diff --git a/IPython/html/templates/edit.html b/IPython/html/templates/edit.html index f63cb8d..527aea1 100644 --- a/IPython/html/templates/edit.html +++ b/IPython/html/templates/edit.html @@ -60,7 +60,7 @@ data-file-path="{{file_path}}"