mirror of
https://github.com/discourse/discourse.git
synced 2024-11-30 07:13:44 +08:00
FIX: users on ie/safari were unable to disable mailing list mode
This commit is contained in:
parent
0adaa8d362
commit
a544990f81
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user