Show More
@@ -158,8 +158,8 b' define(["notebook/js/widgets/widget"], function(WidgetManager){' | |||
|
158 | 158 | .on('click', $.proxy(that.handle_click, that)); |
|
159 | 159 | } |
|
160 | 160 | |
|
161 |
var $item_element = th |
|
|
162 |
if (th |
|
|
161 | var $item_element = that.$container.find(item_query); | |
|
162 | if (that.model.get('value') == item) { | |
|
163 | 163 | $item_element.prop('checked', true); |
|
164 | 164 | } else { |
|
165 | 165 | $item_element.prop('checked', false); |
@@ -244,8 +244,8 b' define(["notebook/js/widgets/widget"], function(WidgetManager){' | |||
|
244 | 244 | .on('click', $.proxy(that.handle_click, that)); |
|
245 | 245 | } |
|
246 | 246 | |
|
247 |
var $item_element = th |
|
|
248 |
if (th |
|
|
247 | var $item_element = that.$buttongroup.find(item_query); | |
|
248 | if (that.model.get('value') == item) { | |
|
249 | 249 | $item_element.addClass('active'); |
|
250 | 250 | } else { |
|
251 | 251 | $item_element.removeClass('active'); |
General Comments 0
You need to be logged in to leave comments.
Login now