mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-23 01:33:09 +00:00
fix emoji panel be removed bug in issue page, when the sub issue summit the duplicate emoji (#8609)
This commit is contained in:
parent
0bfe5eb10b
commit
bfdcedfe89
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue