mirror of
https://github.com/zadam/trilium.git
synced 2026-01-21 14:04:34 +01:00
316 B
316 B
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");
});