瀏覽代碼

fix emoji panel be removed bug in issue page, when the sub issue summit the duplicate emoji (#8609) (#8623)

tags/v1.10.0-rc2
guillep2k 4 年之前
父節點
當前提交
bac9424a62
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      public/js/index.js

+ 1
- 1
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) {

Loading…
取消
儲存