0
0
mirror of https://github.com/neon-mmd/websurfx.git synced 2024-11-24 23:18:22 -05:00

Merge pull request #62 from LX5321/master

UPDATED: Removed Deprecated API
This commit is contained in:
zhou fan 2023-06-05 07:35:33 +08:00 committed by GitHub
commit 5f9cc3079c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,7 +4,7 @@ function search_web() {
} }
search_box.addEventListener('keyup', (e) => { search_box.addEventListener('keyup', (e) => {
if (e.keyCode === 13) { if (e.key === 'Enter') {
search_web() search_web()
} }
}) })