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

UPDATED: Removed Deprecated API

This commit is contained in:
LX5321 2023-05-26 13:08:17 +05:30
parent 85d463f41a
commit 6556e0fdad

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()
} }
}) })