##// END OF EJS Templates
Fixed a couple more context typos
Jonathan Frederic -
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 = this.$container.find(item_query);
162 if (this.model.get('value') == item) {
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 = this.$buttongroup.find(item_query);
248 if (this.model.get('value') == item) {
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