recode the factor
This commit is contained in:
parent
cd8ab03aa3
commit
d1a38eaa0a
1 changed files with 11 additions and 6 deletions
|
@ -73,6 +73,16 @@
|
|||
width: 25%;
|
||||
}
|
||||
</style>
|
||||
<script>
|
||||
document
|
||||
.getElementById("path")
|
||||
.addEventListener("keydown", function (event) {
|
||||
if (event.code === "Enter") {
|
||||
window.location.href =
|
||||
window.location.origin + event.target.value;
|
||||
}
|
||||
});
|
||||
</script>
|
||||
</head>
|
||||
<body id="body">
|
||||
<div class="border">
|
||||
|
@ -89,12 +99,7 @@
|
|||
</div>
|
||||
</div>
|
||||
<form>
|
||||
<input
|
||||
type="text"
|
||||
value="/"
|
||||
class="stretch"
|
||||
onchange="window.location.href = window.location.origin + this.value"
|
||||
/>
|
||||
<input type="text" value="/" class="stretch" id="path" />
|
||||
</form>
|
||||
<nav class="row">
|
||||
<div class="column folder">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue