mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-16 14:40:12 +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;
|
||||
}
|
||||
const toggleBgElement = options.menuElement.querySelector('.b3-switch[data-type="toggle-kanban-bg"]') as HTMLInputElement;
|
||||
toggleBgElement.addEventListener("change", () => {
|
||||
toggleBgElement?.addEventListener("change", () => {
|
||||
const checked = toggleBgElement.checked;
|
||||
transaction(options.protyle, [{
|
||||
action: "setAttrViewFillColBackgroundColor",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue