##// END OF EJS Templates
On tab select, the URL is updated.
Brian Granger -
Show More
@@ -15,6 +15,10 b' $(document).ready(function () {'
15 IPython.page = new IPython.Page();
15 IPython.page = new IPython.Page();
16
16
17 $('div#tabs').tabs();
17 $('div#tabs').tabs();
18 $('div#tabs').on('tabsselect', function (event, ui) {
19 var new_url = $('body').data('baseProjectUrl') + '#' + ui.panel.id;
20 window.history.replaceState({}, '', new_url);
21 });
18 $('div#main_app').addClass('border-box-sizing ui-widget');
22 $('div#main_app').addClass('border-box-sizing ui-widget');
19 $('div#notebooks_toolbar').addClass('ui-widget ui-helper-clearfix');
23 $('div#notebooks_toolbar').addClass('ui-widget ui-helper-clearfix');
20 $('#new_notebook').button().click(function (e) {
24 $('#new_notebook').button().click(function (e) {
General Comments 0
You need to be logged in to leave comments. Login now