mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-28 19:26:09 +01:00
This commit is contained in:
parent
4ad12872f5
commit
dd10a01fbb
7 changed files with 9 additions and 17 deletions
|
|
@ -103,9 +103,9 @@ export const appearance = {
|
|||
<div class="b3-label__text">${window.siyuan.languages.customEmojiTip}</div>
|
||||
</div>
|
||||
<span class="fn__space"></span>
|
||||
<button class="b3-button b3-button--outline fn__flex-center fn__size200" id="appearanceRefresh">
|
||||
<svg><use xlink:href="#iconRefresh"></use></svg>
|
||||
${window.siyuan.languages.refresh}
|
||||
<button class="b3-button b3-button--outline fn__flex-center fn__size200" id="appearanceOpenEmoji">
|
||||
<svg><use xlink:href="#iconFolder"></use></svg>
|
||||
${window.siyuan.languages.showInFolder}
|
||||
</button>
|
||||
</div>
|
||||
<div class="b3-label fn__flex config__item">
|
||||
|
|
@ -227,14 +227,6 @@ export const appearance = {
|
|||
appearance.element.querySelector("#appearanceOpenEmoji").addEventListener("click", () => {
|
||||
shell.openPath(path.join(window.siyuan.config.system.dataDir, "emojis"));
|
||||
});
|
||||
appearance.element.querySelector("#appearanceRefresh").addEventListener("click", () => {
|
||||
exportLayout({
|
||||
cb() {
|
||||
window.location.reload();
|
||||
},
|
||||
errorExit: false,
|
||||
});
|
||||
});
|
||||
/// #endif
|
||||
appearance.element.querySelectorAll("select").forEach(item => {
|
||||
item.addEventListener("change", () => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue