FIX: users on ie/safari were unable to disable mailing list mode

This commit is contained in:
Arpit Jalan 2016-04-29 15:17:53 +05:30
parent 0adaa8d362
commit a544990f81
1 changed files with 2 additions and 2 deletions

View File

@ -5,10 +5,10 @@ export default Em.Component.extend({
return I18n.t(this.get('labelKey'));
}.property('labelKey'),
click() {
change() {
const warning = this.get('warning');
if (warning && !this.get('checked')) {
if (warning && this.get('checked')) {
this.sendAction('warning');
return false;
}