Skip to content

Commit 2a6e6bf

Browse files
L0veSunshinejolheisertechknowlogick
authored
Fix the bug that the emoji don't disappear(#11489) (#11530)
Co-authored-by: John Olheiser <[email protected]> Co-authored-by: techknowlogick <[email protected]>
1 parent 655def5 commit 2a6e6bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web_src/js/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ function initReactionSelector(parent) {
241241
if (resp && (resp.html || resp.empty)) {
242242
const content = $(vm).closest('.content');
243243
let react = content.find('.segment.reactions');
244-
if (!resp.empty && react.length > 0) {
244+
if ((!resp.empty || resp.html === '') && react.length > 0) {
245245
react.remove();
246246
}
247247
if (!resp.empty) {

0 commit comments

Comments
 (0)