mirror of
https://github.com/jupyter/notebook.git
synced 2024-12-21 04:10:17 +08:00
Fixing minor typo in menubar.js.
This commit is contained in:
parent
7c5372ba22
commit
43c82a2b80
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user