1
0
Fork 0
mirror of https://git.sr.ht/~ashkeel/strimertul-website synced 2024-10-31 21:33:09 +00:00
strimertul-website/static/script/apiselector.js
2023-03-06 17:01:31 +01:00

4 lines
144 B
JavaScript

const apiselect = document.getElementById("api-version");
apiselect.addEventListener("change", (ev) => {
location.href = ev.target.value;
});