mirror of
https://github.com/wukko/cobalt.git
synced 2024-11-15 12:50:01 +00:00
web/SettingsCheckbox: remove yassing
This commit is contained in:
parent
635561394c
commit
98b0a2f10a
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