Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
davish committed Sep 6, 2023
1 parent a4ecfab commit a74b699
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/ui/settings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,9 @@ export class FullCalendarSettingTab extends PluginSettingTab {
.setName("Click on a day in month view to create event")
.setDesc("Switch off to open day view on click instead.")
.addToggle((toggle) => {
toggle.setValue(this.plugin.settings.clickToCreateEventFromMonthView);
toggle.setValue(
this.plugin.settings.clickToCreateEventFromMonthView
);
toggle.onChange(async (val) => {
this.plugin.settings.clickToCreateEventFromMonthView = val;
await this.plugin.saveSettings();
Expand Down

0 comments on commit a74b699

Please sign in to comment.