diff options
author | nztqa <nztqa@users.noreply.github.com> | 2017-10-03 10:56:28 +0900 |
---|---|---|
committer | nztqa <nztqa@users.noreply.github.com> | 2017-10-03 10:56:28 +0900 |
commit | 26aa9a4ac4b9d65cb3b62c3a0e42f06cc1f9b808 (patch) | |
tree | 599ad178e26923f1b810ec2ad0a9553f56e2f579 /client/components/cards/cardDetails.js | |
parent | e587964e82647703ffa8f294988765159d94bdef (diff) | |
download | wekan-26aa9a4ac4b9d65cb3b62c3a0e42f06cc1f9b808.tar.gz wekan-26aa9a4ac4b9d65cb3b62c3a0e42f06cc1f9b808.tar.bz2 wekan-26aa9a4ac4b9d65cb3b62c3a0e42f06cc1f9b808.zip |
Use Meteor.subscribe instead of DOM manipulation for Hide system messages
Diffstat (limited to 'client/components/cards/cardDetails.js')
-rw-r--r-- | client/components/cards/cardDetails.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/components/cards/cardDetails.js b/client/components/cards/cardDetails.js index 26a5adb9..836a2353 100644 --- a/client/components/cards/cardDetails.js +++ b/client/components/cards/cardDetails.js @@ -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'); }, }]; }, |