Show More
@@ -70,5 +70,16 b' $(document).ready(function () {' | |||||
70 | IPython.notebook_list.handelFilesUpload(event,'form'); |
|
70 | IPython.notebook_list.handelFilesUpload(event,'form'); | |
71 | }); |
|
71 | }); | |
72 |
|
72 | |||
|
73 | // set hash on tab click | |||
|
74 | $("#tabs").find("a").click(function() { | |||
|
75 | window.location.hash = $(this).attr("href"); | |||
|
76 | }) | |||
|
77 | ||||
|
78 | // load tab if url hash | |||
|
79 | if (window.location.hash) { | |||
|
80 | $("#tabs").find("a[href=" + window.location.hash + "]").click(); | |||
|
81 | } | |||
|
82 | ||||
|
83 | ||||
73 | }); |
|
84 | }); | |
74 |
|
85 |
General Comments 0
You need to be logged in to leave comments.
Login now