##// END OF EJS Templates
Start the pager out collapsed.
Brian Granger -
Show More
@@ -137,6 +137,7 b' div#pager_splitter {'
137 div#pager {
137 div#pager {
138 padding: 15px;
138 padding: 15px;
139 overflow: auto;
139 overflow: auto;
140 display: none;
140 }
141 }
141
142
142 div.cell {
143 div.cell {
@@ -1159,7 +1159,6 b' var IPython = (function (IPython) {'
1159
1159
1160
1160
1161 Notebook.prototype.notebook_loaded = function (data, status, xhr) {
1161 Notebook.prototype.notebook_loaded = function (data, status, xhr) {
1162 var allowed = xhr.getResponseHeader('Allow');
1163 this.fromJSON(data);
1162 this.fromJSON(data);
1164 if (this.ncells() === 0) {
1163 if (this.ncells() === 0) {
1165 this.insert_cell_below('code');
1164 this.insert_cell_below('code');
@@ -116,7 +116,6 b' $(document).ready(function () {'
116 setTimeout(function () {
116 setTimeout(function () {
117 IPython.save_widget.update_url();
117 IPython.save_widget.update_url();
118 IPython.layout_manager.do_resize();
118 IPython.layout_manager.do_resize();
119 IPython.pager.collapse();
120 },100);
119 },100);
121 });
120 });
122
121
@@ -16,7 +16,7 b' var IPython = (function (IPython) {'
16 var Pager = function (pager_selector, pager_splitter_selector) {
16 var Pager = function (pager_selector, pager_splitter_selector) {
17 this.pager_element = $(pager_selector);
17 this.pager_element = $(pager_selector);
18 this.pager_splitter_element = $(pager_splitter_selector);
18 this.pager_splitter_element = $(pager_splitter_selector);
19 this.expanded = true;
19 this.expanded = false;
20 this.percentage_height = 0.40;
20 this.percentage_height = 0.40;
21 this.style();
21 this.style();
22 this.bind_events();
22 this.bind_events();
General Comments 0
You need to be logged in to leave comments. Login now