outside the html????

This commit is contained in:
Dario48true 2024-09-23 12:44:46 +02:00
parent d1a38eaa0a
commit 16c451c13d
3 changed files with 80 additions and 81 deletions

9
site/script.js Normal file
View file

@ -0,0 +1,9 @@
document
.getElementById("path")
.addEventListener("keydown", function(event) {
if (event.code === "Enter") {
window.location.href =
window.location.origin + event.target.value;
}
});