Files
DualHub/static/dropdown.js
2024-04-02 17:58:30 +02:00

8 lines
207 B
JavaScript

document.addEventListener("DOMContentLoaded", function(event) {
const dropdown = document.getElementById("dropdown");
dropdown.addEventListener("change", function() {
dropdown.submit();
});
});