Skip to content

Commit

Permalink
Simpler code
Browse files Browse the repository at this point in the history
  • Loading branch information
scambier committed May 11, 2022
1 parent 1ecb954 commit a395a77
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/settings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,7 @@ export class SettingsTab extends PluginSettingTab {
containerEl.empty()

// Title
const title = document.createElement('h2')
title.textContent = 'Omnisearch settings'
containerEl.appendChild(title)
containerEl.createEl('h2', { text: 'Omnisearch settings' })

// Show notices
new Setting(containerEl)
Expand Down

0 comments on commit a395a77

Please sign in to comment.