0
0
mirror of https://github.com/neon-mmd/websurfx.git synced 2024-10-18 06:22:53 -04: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) => {
if (e.keyCode === 13) {
if (e.key === 'Enter') {
search_web()
}
})