From 1e53010b4d76f961bb13aa9b4fc56ef91d9ef1ef Mon Sep 17 00:00:00 2001 From: Vanessa Date: Mon, 29 Apr 2024 16:00:54 +0800 Subject: [PATCH] :art: https://github.com/siyuan-note/siyuan/issues/11133 --- app/src/boot/globalEvent/commandPanel.ts | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/app/src/boot/globalEvent/commandPanel.ts b/app/src/boot/globalEvent/commandPanel.ts index ad9c2154e..e452e809e 100644 --- a/app/src/boot/globalEvent/commandPanel.ts +++ b/app/src/boot/globalEvent/commandPanel.ts @@ -29,14 +29,14 @@ export const commandPanel = (app: App) => { dialog.element.setAttribute("data-key", Constants.DIALOG_COMMANDPANEL); const listElement = dialog.element.querySelector("#commands"); /// #if !MOBILE - let html = "" - Object.keys(window.siyuan.config.keymap.general).forEach((key) => { - html += `
  • - ${window.siyuan.languages[key]} - ${updateHotkeyTip(window.siyuan.config.keymap.general[key].custom)} -
  • `; - }); - listElement.insertAdjacentHTML("beforeend", html); +// let html = "" +// Object.keys(window.siyuan.config.keymap.general).forEach((key) => { +// html += `
  • +// ${window.siyuan.languages[key]} +// ${updateHotkeyTip(window.siyuan.config.keymap.general[key].custom)} +//
  • `; +// }); +// listElement.insertAdjacentHTML("beforeend", html); /// #endif app.plugins.forEach(plugin => { plugin.commands.forEach(command => {