mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-17 23:20:13 +01:00
This commit is contained in:
parent
77e03dd8c3
commit
5840d3525f
1 changed files with 1 additions and 1 deletions
|
|
@ -218,7 +218,7 @@ export const bindLayoutEvent = (options: {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
const toggleBgElement = options.menuElement.querySelector('.b3-switch[data-type="toggle-kanban-bg"]') as HTMLInputElement;
|
const toggleBgElement = options.menuElement.querySelector('.b3-switch[data-type="toggle-kanban-bg"]') as HTMLInputElement;
|
||||||
toggleBgElement.addEventListener("change", () => {
|
toggleBgElement?.addEventListener("change", () => {
|
||||||
const checked = toggleBgElement.checked;
|
const checked = toggleBgElement.checked;
|
||||||
transaction(options.protyle, [{
|
transaction(options.protyle, [{
|
||||||
action: "setAttrViewFillColBackgroundColor",
|
action: "setAttrViewFillColBackgroundColor",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue