mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-20 08:30:12 +01:00
🚨
This commit is contained in:
parent
a7d0fefff1
commit
f89d16c3a2
5 changed files with 19 additions and 19 deletions
|
|
@ -218,7 +218,7 @@ const setKey = () => {
|
|||
dialog.element.querySelector(".b3-button--cancel").addEventListener("click", () => {
|
||||
dialog.destroy();
|
||||
});
|
||||
const inputElement = dialog.element.querySelector(".b3-text-field") as HTMLInputElement
|
||||
const inputElement = dialog.element.querySelector(".b3-text-field") as HTMLInputElement;
|
||||
dialog.element.querySelector("#initKeyByPW").addEventListener("click", () => {
|
||||
if (!inputElement.value) {
|
||||
showMessage(window.siyuan.languages._kernel[142]);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue