Fixing minor typo in menubar.js.

This commit is contained in:
Brian Granger 2012-01-18 12:47:53 -08:00
parent 7c5372ba22
commit 43c82a2b80

View File

@ -24,7 +24,7 @@ var IPython = (function (IPython) {
MenuBar.prototype.style = function () { MenuBar.prototype.style = function () {
$('ul#menus').menubar({ $('ul#menus').menubar({
select : function (event, ui) { select : function (event, ui) {
// The selected cell looses focus when the menu is entered, so we // The selected cell loses focus when the menu is entered, so we
// re-select it upon selection. // re-select it upon selection.
var i = IPython.notebook.selected_index(); var i = IPython.notebook.selected_index();
IPython.notebook.select(i); IPython.notebook.select(i);