1
0
Fork 0
mirror of https://git.sr.ht/~ashkeel/strimertul-website synced 2024-11-23 21:32:20 +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;
});