mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-08-06 20:08:40 +00:00
Update ProjectLighthouse.Servers.Website/Pages/SlotSettingsPage.cshtml
Co-authored-by: Josh <josh@slendy.pw>
This commit is contained in:
parent
07aee8347d
commit
4f3c284f15
1 changed files with 1 additions and 2 deletions
|
@ -135,8 +135,7 @@ function onSubmit(){
|
|||
generateRandomSkew(btn);
|
||||
}
|
||||
function onCheckboxChange(checkbox) {
|
||||
const labelId = checkbox.id.replace('checkbox', 'label');
|
||||
const label = document.getElementById(labelId);
|
||||
const label = checkbox.parentElement;
|
||||
if (checkbox.checked) {
|
||||
label.classList.add('selected');
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue