Skip to content

Commit

Permalink
修复 #47 本地表情功能,开启 “历史表情”功能之后,无法正常使用
Browse files Browse the repository at this point in the history
  • Loading branch information
xiyuesaves committed Dec 27, 2023
1 parent 4ce08c6 commit 4934e8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/render_modules/localEmoticons.js
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ function updateLocalEmoticonsConfig(config) {
findEmoticons.updateEmoticonList(list);
folderList.insertBefore(findEmoticons.folderEl, folderList.querySelector(":first-child"));
folderScroll.insertBefore(findEmoticons.folderIconEl, folderScroll.querySelector(":first-child"));
} else {
} else if (list.length) {
const newEmoticonFolder = new emoticonFolder("历史表情", list, commonlyId, list[0].path, -1, "commonly");
folderInfos.unshift(newEmoticonFolder);
folderList.insertBefore(newEmoticonFolder.folderEl, folderList.querySelector(":first-child"));
Expand Down

0 comments on commit 4934e8e

Please sign in to comment.