fix(client): 🐛 remove empty payload sended on page load

This commit is contained in:
Julien Oculi 2024-06-25 11:52:32 +02:00
parent 8a0d2d4c71
commit 48a0e3afdd

View file

@ -69,10 +69,6 @@
var valueLength = '' var valueLength = ''
var keyMap = {} var keyMap = {}
window.onload = function () {
storeInput()
}
document.addEventListener('keydown', (event) => { document.addEventListener('keydown', (event) => {
const key = event.keyCode const key = event.keyCode
const url = keyMap[key] const url = keyMap[key]