##// END OF EJS Templates
check for selector only in parent classes
Matthias BUSSONNIER -
Show More
@@ -13,13 +13,10 var IPython = (function (IPython) {
13
13
14 var MainToolBar = function (selector) {
14 var MainToolBar = function (selector) {
15 this.selector = selector;
15 this.selector = selector;
16 if (this.selector !== undefined) {
16 IPython.ToolBar.apply(this, arguments);
17 IPython.ToolBar.apply(this, arguments);
17 this.construct();
18 // move the rest ouside
18 this.add_drop_down_list();
19 this.construct();
19 this.bind_events();
20 this.add_drop_down_list();
21 this.bind_events();
22 }
23 };
20 };
24
21
25 MainToolBar.prototype = new IPython.ToolBar();
22 MainToolBar.prototype = new IPython.ToolBar();
General Comments 0
You need to be logged in to leave comments. Login now