mirror of
https://github.com/wukko/cobalt.git
synced 2025-01-24 19:56:18 +01:00
web/SettingsCheckbox: remove yassing
This commit is contained in:
parent
880b8abb40
commit
95370f1bdc
1 changed files with 3 additions and 4 deletions
|
@ -23,14 +23,13 @@
|
||||||
<button
|
<button
|
||||||
id="setting-button-{settingContext}-{String(settingId)}"
|
id="setting-button-{settingContext}-{String(settingId)}"
|
||||||
class="checkbox-container"
|
class="checkbox-container"
|
||||||
on:click={() => {
|
on:click={() =>
|
||||||
updateSetting({
|
updateSetting({
|
||||||
[settingContext]: {
|
[settingContext]: {
|
||||||
[settingId]: !isChecked,
|
[settingId]: !isChecked,
|
||||||
},
|
},
|
||||||
});
|
})
|
||||||
console.log("yass", !isChecked);
|
}
|
||||||
}}
|
|
||||||
>
|
>
|
||||||
<div class="checkbox" class:checked={isChecked}>
|
<div class="checkbox" class:checked={isChecked}>
|
||||||
<div class="checkbox-icon">
|
<div class="checkbox-icon">
|
||||||
|
|
Loading…
Reference in a new issue