mirror of
https://github.com/go-gitea/gitea
synced 2024-12-24 09:34:26 +00:00
Co-authored-by: John Olheiser <john.olheiser@gmail.com> Co-authored-by: techknowlogick <techknowlogick@gitea.io>
This commit is contained in:
parent
655def5141
commit
2a6e6bf0f1
@ -241,7 +241,7 @@ function initReactionSelector(parent) {
|
||||
if (resp && (resp.html || resp.empty)) {
|
||||
const content = $(vm).closest('.content');
|
||||
let react = content.find('.segment.reactions');
|
||||
if (!resp.empty && react.length > 0) {
|
||||
if ((!resp.empty || resp.html === '') && react.length > 0) {
|
||||
react.remove();
|
||||
}
|
||||
if (!resp.empty) {
|
||||
|
Loading…
Reference in New Issue
Block a user