summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--public/js/index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/public/js/index.js b/public/js/index.js
index a903b219e7..e9a4bcaac1 100644
--- a/public/js/index.js
+++ b/public/js/index.js
@@ -306,7 +306,7 @@ function initReactionSelector(parent) {
if (resp && (resp.html || resp.empty)) {
const content = $(vm).closest('.content');
let react = content.find('.segment.reactions');
- if (react.length > 0) {
+ if (!resp.empty && react.length > 0) {
react.remove();
}
if (!resp.empty) {