mirror of
https://github.com/Noratrieb/std-internal-docs.git
synced 2026-01-14 09:35:01 +01:00
fix
This commit is contained in:
parent
a795a974ac
commit
bcc0fe6e62
2 changed files with 5 additions and 3 deletions
|
|
@ -24,6 +24,8 @@
|
|||
elems.parentNode.insertBefore(info, elems);
|
||||
|
||||
document.getElementById("target-select").addEventListener("change", (e) => {
|
||||
alert(e.target.value);
|
||||
// not very clever, just change the target at all.
|
||||
// we could try to substitute the path or something better.
|
||||
window.location.pathname = `${e.target.value}/std`;
|
||||
});
|
||||
</script>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue