mirror of
https://github.com/MathMan05/Fermi.git
synced 2026-10-23 10:42:23 +00:00
Fix default state for dialog checkbox
This commit is contained in:
1 parent
97c264d888
commit
f91b79d1a9
1 file changed
+1
-1
@@ -59,7 +59,7 @@ class Fullscreen{
|
||||
const checkbox = document.createElement('input');
|
||||
div.appendChild(checkbox)
|
||||
const label=document.createElement("span");
|
||||
checkbox.value=array[2];
|
||||
checkbox.checked=array[2];
|
||||
label.textContent=array[1];
|
||||
div.appendChild(label);
|
||||
checkbox.addEventListener("change",array[3]);
|
||||
|
||||
Reference in new issue
Block a user