mirror of
https://github.com/wekan/wekan.git
synced 2026-03-09 15:12:34 +01:00
Use Meteor.subscribe instead of DOM manipulation for Hide system messages
This commit is contained in:
parent
e587964e82
commit
26aa9a4ac4
4 changed files with 3 additions and 5 deletions
|
|
@ -83,8 +83,6 @@ BlazeComponent.extendComponent({
|
|||
evt.stopImmediatePropagation();
|
||||
evt.preventDefault();
|
||||
Utils.goBoardId(Session.get('currentBoard'));
|
||||
} else if (!Meteor.user().hasHiddenSystemMessages()) {
|
||||
$('.toggle-switch').prop('checked', false);
|
||||
}
|
||||
},
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue