Reopen a closed vote until its results are shown; check mark in the center mark and on the phone; vote title during enrollment; projector opens in a window

This commit is contained in:
2026-11-17 01:52:30 +01:00
parent 7bfc6dfb7c
commit f8d8980335
10 changed files with 87 additions and 7 deletions
+7
View File
@@ -43,3 +43,10 @@ for (const [btn, input] of [["#copy-admin", "#admin-link"], ["#copy-screen", "#s
catch { $(input).select(); }
});
}
// a real window, not a tab: it can be dragged onto the projected display and put full screen there
$("#go-screen").addEventListener("click", (e) => {
const w = window.open($("#go-screen").href, "_blank", "popup,width=1280,height=720");
// blocked popup: the plain link still opens a tab
if (w) { w.opener = null; e.preventDefault(); }
});