##// END OF EJS Templates
Fixed indentation
Jonathan Frederic -
Show More
@@ -15,25 +15,25 b' define(["notebook/js/widget"], function(){'
15 .addClass('widget-hlabel')
15 .addClass('widget-hlabel')
16 .hide();
16 .hide();
17 this.$buttongroup = $('<div />')
17 this.$buttongroup = $('<div />')
18 .addClass('widget_item')
18 .addClass('widget_item')
19 .addClass('btn-group')
19 .addClass('btn-group')
20 .appendTo(this.$el);
20 .appendTo(this.$el);
21 this.$el_to_style = this.$buttongroup; // Set default element to style
21 this.$el_to_style = this.$buttongroup; // Set default element to style
22 this.$droplabel = $('<button />')
22 this.$droplabel = $('<button />')
23 .addClass('btn')
23 .addClass('btn')
24 .addClass('widget-combo-btn')
24 .addClass('widget-combo-btn')
25 .html('&nbsp;')
25 .html('&nbsp;')
26 .appendTo(this.$buttongroup);
26 .appendTo(this.$buttongroup);
27 this.$dropbutton = $('<button />')
27 this.$dropbutton = $('<button />')
28 .addClass('btn')
28 .addClass('btn')
29 .addClass('dropdown-toggle')
29 .addClass('dropdown-toggle')
30 .addClass('widget-combo-carrot-btn')
30 .addClass('widget-combo-carrot-btn')
31 .attr('data-toggle', 'dropdown')
31 .attr('data-toggle', 'dropdown')
32 .html('<span class="caret"></span>')
32 .html('<span class="caret"></span>')
33 .appendTo(this.$buttongroup);
33 .appendTo(this.$buttongroup);
34 this.$droplist = $('<ul />')
34 this.$droplist = $('<ul />')
35 .addClass('dropdown-menu')
35 .addClass('dropdown-menu')
36 .appendTo(this.$buttongroup);
36 .appendTo(this.$buttongroup);
37
37
38 // Set defaults.
38 // Set defaults.
39 this.update();
39 this.update();
General Comments 0
You need to be logged in to leave comments. Login now