@nodebb/nodebb-plugin-reactions 2.1.3 → 2.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/public/client.js +1 -1
package/package.json
CHANGED
package/public/client.js
CHANGED
|
@@ -200,7 +200,7 @@ $(document).ready(function () {
|
|
|
200
200
|
const chatContentEl = reactionEl.parents('[component="chat/message/content"]');
|
|
201
201
|
const isAtBottom = messages.isAtBottom(chatContentEl);
|
|
202
202
|
reactionEl.append(html);
|
|
203
|
-
if (isAtBottom
|
|
203
|
+
if (isAtBottom) {
|
|
204
204
|
messages.scrollToBottom(chatContentEl);
|
|
205
205
|
}
|
|
206
206
|
});
|