##// END OF EJS Templates
trigger hash on notebook load...
MinRK -
Show More
@@ -82,6 +82,11 b' $(document).ready(function () {'
82 IPython.layout_manager.do_resize();
82 IPython.layout_manager.do_resize();
83 $([IPython.events]).on('notebook_loaded.Notebook', function () {
83 $([IPython.events]).on('notebook_loaded.Notebook', function () {
84 IPython.layout_manager.do_resize();
84 IPython.layout_manager.do_resize();
85 var hash = document.location.hash;
86 if (hash) {
87 document.location.hash = '';
88 document.location.hash = hash;
89 }
85 });
90 });
86 IPython.notebook.load_notebook($('body').data('notebookId'));
91 IPython.notebook.load_notebook($('body').data('notebookId'));
87
92
General Comments 0
You need to be logged in to leave comments. Login now