mirror of
https://github.com/neon-mmd/websurfx.git
synced 2024-11-25 15:38:21 -05:00
UPDATED: Removed Deprecated API
This commit is contained in:
parent
85d463f41a
commit
6556e0fdad
@ -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()
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user