Remove redunndant elements

This commit is contained in:
Sergey Hayriyan 2025-03-12 15:15:09 +04:00
parent 9deda6f7d7
commit 830b5f8acb

View file

@ -279,10 +279,9 @@ class PrefsTab extends PluginSettingTab {
containerEl.empty();
containerEl.createEl('h2', {text: 'MathType Suggester Prefs'});
new Setting(containerEl)
.setName('Start Key')
.setName('Start key')
.setDesc('Set the key to trigger MathType suggestions.')
.addText(text => text
.setValue(this.plugin.settings.startKey || '')