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

5 lines
144 B
JavaScript
Raw Normal View History

2023-03-06 16:01:31 +00:00
const apiselect = document.getElementById("api-version");
apiselect.addEventListener("change", (ev) => {
location.href = ev.target.value;
});