1
0
Fork 0
mirror of https://github.com/Kozea/Radicale.git synced 2025-07-29 18:08:31 +00:00

Order branches

This commit is contained in:
Unrud 2020-02-27 14:18:57 +01:00
parent 4dd0506da2
commit 3c434f4efe
3 changed files with 29 additions and 8 deletions

View file

@ -9,7 +9,7 @@ window.addEventListener("load", function() {
if (branch === documentBranch) {
option.setAttribute("selected", "");
}
select.appendChild(option);
select.prepend(option);
}
select.addEventListener("change", function() {
if (select.value !== documentBranch) {