Skip to content

Commit 003d46f

Browse files
authored
Update main.ts
const announcementEl = containerEl.createDiv('announcement'); Don't add a top-level heading in the settings tab, such as "General", "Settings", or the name of your plugin.
1 parent e740eec commit 003d46f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@ class XenQuotesSettingTab extends PluginSettingTab {
304304

305305
containerEl.empty();
306306

307-
const announcementEl = containerEl.createDiv('announcement');
307+
const announcementEl = containerEl.createDiv();
308308
announcementEl.addClass('announcement');
309309

310310
const messageEl = announcementEl.createEl('p');

0 commit comments

Comments
 (0)