recode the factor

This commit is contained in:
Dario48true 2024-09-23 12:38:50 +02:00
parent cd8ab03aa3
commit d1a38eaa0a

View file

@ -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">