1
0
Fork 0
mirror of https://github.com/Kozea/Radicale.git synced 2025-08-13 18:50:53 +00:00

Run JS earlier

This commit is contained in:
Unrud 2022-07-28 16:20:55 +02:00
parent 22d2d4af4c
commit 7d0ab1efc5
4 changed files with 4 additions and 4 deletions

View file

@ -1,4 +1,4 @@
window.addEventListener("load", function() {
window.addEventListener("DOMContentLoaded", function() {
function resetSelect(select) {
for (let option of select.options) {
option.selected = option.defaultSelected;