Fix TS Build Mistakes
This commit is contained in:
parent
d865d61e23
commit
86ca1199cc
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ export default class BetterWordCountSettingsTab extends PluginSettingTab {
|
|||
.addText((text: TextComponent) => {
|
||||
text.inputEl.type = "number";
|
||||
text.setPlaceholder("300");
|
||||
text.setValue(this.plugin.settings.pageWords);
|
||||
text.setValue(this.plugin.settings.pageWords.toString());
|
||||
text.onChange(async (value: string) => {
|
||||
this.plugin.settings.pageWords = parseInt(value);
|
||||
await this.plugin.saveSettings();
|
||||
|
|
Loading…
Reference in a new issue