diff options
author | Lauri Ojansivu <x@xet7.org> | 2017-10-01 10:44:06 +0300 |
---|---|---|
committer | Lauri Ojansivu <x@xet7.org> | 2017-10-01 10:44:06 +0300 |
commit | 8df9e681ed28b29f90a787beabaea16c324a1852 (patch) | |
tree | 9770dff9580d2b7e653407a61e6dd5774955fc70 /client | |
parent | 443c3a7ac6c1b22eb5e13072d5b6bd797271dc2a (diff) | |
download | wekan-8df9e681ed28b29f90a787beabaea16c324a1852.tar.gz wekan-8df9e681ed28b29f90a787beabaea16c324a1852.tar.bz2 wekan-8df9e681ed28b29f90a787beabaea16c324a1852.zip |
Fix lint errors.
Diffstat (limited to 'client')
-rw-r--r-- | client/components/lists/listBody.js | 6 |
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); } }, |