mirror of
https://github.com/wekan/wekan.git
synced 2026-01-24 18:26:10 +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
|
|
@ -104,7 +104,7 @@ BlazeComponent.extendComponent({
|
|||
this.parentComponent().mouseHasEnterCardDetails = true;
|
||||
},
|
||||
'click #toggleButton'() {
|
||||
$('div.activity.js-card-activity:not(:has(.activity-comment))').toggle();
|
||||
Meteor.call('toggleSystemMessages');
|
||||
},
|
||||
}];
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue