mirror of
https://github.com/zadam/trilium.git
synced 2026-01-01 21:19:56 +01:00
315 B
Vendored
315 B
Vendored
Trigger UI refresh
Call utils.reloadFrontendApp, but make sure to wait for the option to be saved first.
this.$backgroundEffects.on("change", async () => {
await this.updateCheckboxOption("backgroundEffects", this.$backgroundEffects);
utils.reloadFrontendApp("background effect change");
});