vendor/assets/javascripts/base/_switch.js in active_frontend-16.4.1 vs vendor/assets/javascripts/base/_switch.js in active_frontend-17.0.0
- old
+ new
@@ -21,16 +21,16 @@
};
Switch.VERSION = '1.0.0';
Switch.DEFAULTS = {
baseClass: 'switch',
- offClass: 'switch-color-light-haze',
- onClass: 'switch-color-green',
+ offClass: 'switch-color-haze',
+ onClass: 'switch-color-primary',
onOffCallback: function () {},
onOnCallback: function () {},
text: {
- off: '<i class="icon-cross"></i>',
- on: '<i class="icon-check"></i>'
+ off: '',
+ on: ''
}
};
Switch.prototype.constructor = Switch;