From a544990f81194275b3efe75072fd07c89f18b672 Mon Sep 17 00:00:00 2001 From: Arpit Jalan Date: Fri, 29 Apr 2016 15:17:53 +0530 Subject: [PATCH] FIX: users on ie/safari were unable to disable mailing list mode --- .../discourse/components/preference-checkbox.js.es6 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/assets/javascripts/discourse/components/preference-checkbox.js.es6 b/app/assets/javascripts/discourse/components/preference-checkbox.js.es6 index 6b762409513..352aeadac30 100644 --- a/app/assets/javascripts/discourse/components/preference-checkbox.js.es6 +++ b/app/assets/javascripts/discourse/components/preference-checkbox.js.es6 @@ -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; }