diff options
-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); } }, |