Skip to content

Commit 9552fc1

Browse files
committed
give Page constructor default arguments
for any extension template which relied on the old no-parameter formation
1 parent 1cdb411 commit 9552fc1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

notebook/static/base/js/page.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ define([
1515
* header_div_selector: string
1616
* site_div_selector: string
1717
*/
18-
this.header_div_element = $(header_div_selector);
19-
this.site_div_element = $(site_div_selector);
18+
this.header_div_element = $(header_div_selector || 'div#header');
19+
this.site_div_element = $(site_div_selector || 'div#site');
2020

2121
this.bind_events();
2222
};

0 commit comments

Comments
 (0)