From 35824797ccfdff8df15f12362f92e1ca1f6d5a74 2015-01-15 20:15:19 From: Min RK Date: 2015-01-15 20:15:19 Subject: [PATCH] don't set bootstrap toggle on ToggleButtonsWidget model update already toggles active and data-toggle does the same, so clicking on a toggle toggles twice, setting it back to the original value. --- diff --git a/IPython/html/static/widgets/js/widget_selection.js b/IPython/html/static/widgets/js/widget_selection.js index 31bd3df..f00e799 100644 --- a/IPython/html/static/widgets/js/widget_selection.js +++ b/IPython/html/static/widgets/js/widget_selection.js @@ -287,7 +287,6 @@ define([ .hide(); this.$buttongroup = $('
') .addClass('btn-group') - .attr('data-toggle', 'buttons-radio') .appendTo(this.$el); this.model.on('change:button_style', function(model, value) {