Fix Javascript equality check (== > ===).
@@ -242,7 +242,7 @@ var oscar = (function(o, $) {
toggleOptionGroup: function(type_select){
var option_group_select = $('#' + type_select.attr('id').replace('type', 'option_group'));
var v = type_select.val();
- option_group_select.select2('container').toggle(v === 'option' || v == 'multi_option');
+ option_group_select.select2('container').toggle(v === 'option' || v === 'multi_option');
}
},
ranges: {
