diff --git a/app/src/util/globalShortcut.ts b/app/src/util/globalShortcut.ts index 7c18fae87..db50714e4 100644 --- a/app/src/util/globalShortcut.ts +++ b/app/src/util/globalShortcut.ts @@ -281,6 +281,10 @@ export const globalShortcut = () => { currentLiElement.parentElement.parentElement.nextElementSibling.innerHTML = currentLiElement.querySelector(".b3-list-item__text").innerHTML; } } + const originalElement = switchDialog.element.querySelector('[data-original="true"]'); + if (originalElement) { + originalElement.removeAttribute("data-original") + } } else if (event.key === "Control") { let currentLiElement = switchDialog.element.querySelector(".b3-list-item--focus"); // 快速切换时,不触发 Tab