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