From af52556e1c85bcf6147de0c9ba94abc5a1db3bab 2015-01-20 22:54:48 From: Jessica B. Hamrick Date: 2015-01-20 22:54:48 Subject: [PATCH] Make tour functional again --- diff --git a/IPython/html/static/notebook/js/tour.js b/IPython/html/static/notebook/js/tour.js index 718938b..78f23cc 100644 --- a/IPython/html/static/notebook/js/tour.js +++ b/IPython/html/static/notebook/js/tour.js @@ -40,13 +40,11 @@ define([ }, { element: $("#menus").parent(), placement: 'bottom', - backdrop: true, title: "Notebook Menubar", content: "The menubar has menus for actions on the notebook, its cells, and the kernel it communicates with." }, { element: "#maintoolbar", placement: 'bottom', - backdrop: true, title: "Notebook Toolbar", content: "The toolbar has buttons for the most common actions. Hover your mouse over each button for more information." }, { @@ -88,13 +86,13 @@ define([ onHide: function(tour) { $('#help_menu').parent().children('a').click(); }, content: "You can click here to get a list of all of the keyboard shortcuts." }, { - element: "#kernel_indicator", + element: "#kernel_indicator_icon", title: "Kernel Indicator", placement: 'bottom', onShow: function(tour) { events.trigger('kernel_idle.Kernel');}, content: "This is the Kernel indicator. It looks like this when the Kernel is idle." }, { - element: "#kernel_indicator", + element: "#kernel_indicator_icon", title: "Kernel Indicator", placement: 'bottom', onShow: function(tour) { events.trigger('kernel_busy.Kernel'); }, @@ -120,12 +118,9 @@ define([ ]; this.tour = new Tour({ - //orphan: true, storage: false, // start tour from beginning every time - //element: $("#ipython_notebook"), debug: true, reflex: true, // click on element to continue tour - //backdrop: true, // show dark behind popover animation: false, duration: this.step_duration, onStart: function() { console.log('tour started'); }, diff --git a/IPython/html/templates/notebook.html b/IPython/html/templates/notebook.html index 77f9d5a..d41065a 100644 --- a/IPython/html/templates/notebook.html +++ b/IPython/html/templates/notebook.html @@ -38,7 +38,7 @@ data-notebook-path="{{notebook_path}}" - +