mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-12 02:04:20 +01:00
📱 输入键盘
Signed-off-by: Daniel <845765@qq.com>
This commit is contained in:
parent
621ca5d273
commit
3e8e09ff59
1 changed files with 1 additions and 1 deletions
|
|
@ -576,7 +576,7 @@
|
|||
init();
|
||||
window.addEventListener("click", (event) => {
|
||||
if (event.target.tagName === "INPUT" &&
|
||||
["email", "number", "password", "search", "tel", "text", "url", ""].includes(event.target.getAttribute("type")) &&
|
||||
["email", "number", "password", "search", "tel", "text", "url", "", null].includes(event.target.getAttribute("type")) &&
|
||||
event.target.getAttribute("readonly") !== "readonly") {
|
||||
if (window.JSAndroid && window.JSAndroid.showKeyboard) {
|
||||
window.JSAndroid.showKeyboard();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue