mirror of
https://github.com/jupyter/notebook.git
synced 2024-12-27 04:20:22 +08:00
Merge pull request #7481 from minrk/toggle-buttons-indicate
don't set bootstrap toggle on ToggleButtonsWidget
This commit is contained in:
commit
1ce46a8723
@ -287,7 +287,6 @@ define([
|
|||||||
.hide();
|
.hide();
|
||||||
this.$buttongroup = $('<div />')
|
this.$buttongroup = $('<div />')
|
||||||
.addClass('btn-group')
|
.addClass('btn-group')
|
||||||
.attr('data-toggle', 'buttons-radio')
|
|
||||||
.appendTo(this.$el);
|
.appendTo(this.$el);
|
||||||
|
|
||||||
this.model.on('change:button_style', function(model, value) {
|
this.model.on('change:button_style', function(model, value) {
|
||||||
|
@ -7,7 +7,7 @@ casper.notebook_test(function () {
|
|||||||
this.execute_cell_then(index);
|
this.execute_cell_then(index);
|
||||||
|
|
||||||
var combo_selector = '.widget-area .widget-subarea .widget-hbox .btn-group .widget-combo-btn';
|
var combo_selector = '.widget-area .widget-subarea .widget-hbox .btn-group .widget-combo-btn';
|
||||||
var multibtn_selector = '.widget-area .widget-subarea .widget-hbox .btn-group[data-toggle="buttons-radio"]';
|
var multibtn_selector = '.widget-area .widget-subarea .widget-hbox.widget-toggle-buttons .btn-group';
|
||||||
var radio_selector = '.widget-area .widget-subarea .widget-hbox .widget-radio-box';
|
var radio_selector = '.widget-area .widget-subarea .widget-hbox .widget-radio-box';
|
||||||
var list_selector = '.widget-area .widget-subarea .widget-hbox .widget-listbox';
|
var list_selector = '.widget-area .widget-subarea .widget-hbox .widget-listbox';
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user