outside the html????
This commit is contained in:
parent
d1a38eaa0a
commit
16c451c13d
3 changed files with 80 additions and 81 deletions
9
site/script.js
Normal file
9
site/script.js
Normal 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;
|
||||
}
|
||||
});
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue