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%;
|
width: 25%;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
<script>
|
||||||
|
document
|
||||||
|
.getElementById("path")
|
||||||
|
.addEventListener("keydown", function (event) {
|
||||||
|
if (event.code === "Enter") {
|
||||||
|
window.location.href =
|
||||||
|
window.location.origin + event.target.value;
|
||||||
|
}
|
||||||
|
});
|
||||||
|
</script>
|
||||||
</head>
|
</head>
|
||||||
<body id="body">
|
<body id="body">
|
||||||
<div class="border">
|
<div class="border">
|
||||||
|
@ -89,12 +99,7 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<form>
|
<form>
|
||||||
<input
|
<input type="text" value="/" class="stretch" id="path" />
|
||||||
type="text"
|
|
||||||
value="/"
|
|
||||||
class="stretch"
|
|
||||||
onchange="window.location.href = window.location.origin + this.value"
|
|
||||||
/>
|
|
||||||
</form>
|
</form>
|
||||||
<nav class="row">
|
<nav class="row">
|
||||||
<div class="column folder">
|
<div class="column folder">
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue