diff options
author | nztqa <nztqa@users.noreply.github.com> | 2017-09-25 14:52:55 +0900 |
---|---|---|
committer | nztqa <nztqa@users.noreply.github.com> | 2017-09-25 14:52:55 +0900 |
commit | b503ba1144454234c3b9f852aefcde6e4a262a63 (patch) | |
tree | 9bd64aa3e89c37d8e38e9c70db35c308a3b1dacd /client/components/cards/cardDetails.js | |
parent | 415343bbd0184059ab5b4c838e26bc14fa2c7627 (diff) | |
download | wekan-b503ba1144454234c3b9f852aefcde6e4a262a63.tar.gz wekan-b503ba1144454234c3b9f852aefcde6e4a262a63.tar.bz2 wekan-b503ba1144454234c3b9f852aefcde6e4a262a63.zip |
Add comments only in activity feed
Diffstat (limited to 'client/components/cards/cardDetails.js')
-rw-r--r-- | client/components/cards/cardDetails.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/client/components/cards/cardDetails.js b/client/components/cards/cardDetails.js index 7c6c3ce7..d622c912 100644 --- a/client/components/cards/cardDetails.js +++ b/client/components/cards/cardDetails.js @@ -99,6 +99,9 @@ BlazeComponent.extendComponent({ this.parentComponent().showOverlay.set(true); this.parentComponent().mouseHasEnterCardDetails = true; }, + 'click #toggleButton'() { + $('div.activity.js-card-activity:not(:has(.activity-comment))').toggle(); + }, }]; }, }).register('cardDetails'); |