summaryrefslogtreecommitdiffstats
path: root/client/components
diff options
context:
space:
mode:
authorLauri Ojansivu <x@xet7.org>2017-10-01 10:44:06 +0300
committerLauri Ojansivu <x@xet7.org>2017-10-01 10:44:06 +0300
commit8df9e681ed28b29f90a787beabaea16c324a1852 (patch)
tree9770dff9580d2b7e653407a61e6dd5774955fc70 /client/components
parent443c3a7ac6c1b22eb5e13072d5b6bd797271dc2a (diff)
downloadwekan-8df9e681ed28b29f90a787beabaea16c324a1852.tar.gz
wekan-8df9e681ed28b29f90a787beabaea16c324a1852.tar.bz2
wekan-8df9e681ed28b29f90a787beabaea16c324a1852.zip
Fix lint errors.
Diffstat (limited to 'client/components')
-rw-r--r--client/components/lists/listBody.js6
1 files changed, 2 insertions, 4 deletions
diff --git a/client/components/lists/listBody.js b/client/components/lists/listBody.js
index 794f33c2..b9365448 100644
--- a/client/components/lists/listBody.js
+++ b/client/components/lists/listBody.js
@@ -83,10 +83,8 @@ BlazeComponent.extendComponent({
evt.stopImmediatePropagation();
evt.preventDefault();
Utils.goBoardId(Session.get('currentBoard'));
- } else {
- if (!Meteor.user().hasHiddenSystemMessages()) {
- $('.toggle-switch').prop('checked', false);
- }
+ } else if (!Meteor.user().hasHiddenSystemMessages()) {
+ $('.toggle-switch').prop('checked', false);
}
},