parent
a3905daf5b
commit
f0884bd910
2 changed files with 5 additions and 4 deletions
|
|
@ -77,9 +77,9 @@ export abstract class SelectModal<T> extends Modal {
|
|||
}
|
||||
|
||||
async onOpen() {
|
||||
const {contentEl} = this;
|
||||
const {contentEl, titleEl} = this;
|
||||
|
||||
contentEl.createEl('h2', {text: this.title});
|
||||
titleEl.createEl('h2', {text: this.title});
|
||||
contentEl.createEl('p', {text: this.description});
|
||||
|
||||
contentEl.addClass('media-db-plugin-select-modal');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue