parent
c9d49c89a6
commit
b58226ba9a
2 changed files with 13 additions and 1 deletions
|
|
@ -3,6 +3,7 @@
|
|||
## Refactor
|
||||
* Increase the spacing above and below post contents [#7267](https://github.com/diaspora/diaspora/pull/7267)
|
||||
* Replace fileuploader-custom with FineUploader [#7083](https://github.com/diaspora/diaspora/pull/7083)
|
||||
* Always show mobile reaction counts [#7207](https://github.com/diaspora/diaspora/pull/7207)
|
||||
|
||||
## Bug fixes
|
||||
* Fix background color of year on notifications page with dark theme [#7263](https://github.com/diaspora/diaspora/pull/7263)
|
||||
|
|
|
|||
|
|
@ -18,8 +18,19 @@
|
|||
|
||||
this.stream().on("tap click", "a.comment-action", function(evt) {
|
||||
evt.preventDefault();
|
||||
self.showCommentBox($(this));
|
||||
var bottomBar = $(this).closest(".bottom-bar").first();
|
||||
var toggleReactionsLink = bottomBar.find("a.show-comments").first();
|
||||
|
||||
if (toggleReactionsLink.length === 0) {
|
||||
self.showCommentBox($(this));
|
||||
} else {
|
||||
if (toggleReactionsLink.hasClass("loading")) {
|
||||
return;
|
||||
}
|
||||
if (!toggleReactionsLink.hasClass("active")) {
|
||||
self.showComments(toggleReactionsLink);
|
||||
}
|
||||
}
|
||||
var commentContainer = bottomBar.find(".comment-container").first();
|
||||
self.scrollToOffset(commentContainer);
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue