fix???
This commit is contained in:
parent
6af7abe041
commit
70b64b2251
2 changed files with 2 additions and 2 deletions
|
@ -3,6 +3,7 @@
|
||||||
<head>
|
<head>
|
||||||
<title>/</title>
|
<title>/</title>
|
||||||
<link rel="stylesheet" href="/style.css" />
|
<link rel="stylesheet" href="/style.css" />
|
||||||
|
<script src="/script.js" defer></script>
|
||||||
</head>
|
</head>
|
||||||
<body id="body">
|
<body id="body">
|
||||||
<div class="border">
|
<div class="border">
|
||||||
|
@ -21,7 +22,6 @@
|
||||||
<form>
|
<form>
|
||||||
<input type="text" value="/" class="stretch" id="path" />
|
<input type="text" value="/" class="stretch" id="path" />
|
||||||
</form>
|
</form>
|
||||||
<script src="/script.js"></script>
|
|
||||||
<nav class="row">
|
<nav class="row">
|
||||||
<div class="column folder">
|
<div class="column folder">
|
||||||
<a href="bin/">
|
<a href="bin/">
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
document.getElementById("path").addEventListener("keydown", function(e) { if (e.code === "Enter") { e.preventDefault(); window.location.href = window.location.origin + e.target.value } })
|
document.getElementById("path").addEventListener("keydown", function(e) { if (e.key === "Enter") { e.preventDefault(); window.location.href = window.location.origin + e.target.value } })
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue