Skip to content

Commit

Permalink
Fix CSS class add call
Browse files Browse the repository at this point in the history
  • Loading branch information
chhoumann committed Jan 22, 2022
1 parent cd8cfe5 commit b8ba2d7
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"id": "quickadd",
"name": "QuickAdd",
"version": "0.4.19",
"version": "0.4.20",
"minAppVersion": "0.12.5",
"description": "Quickly add new pages or content to your vault.",
"author": "Christian B. B. Houmann",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "quickadd",
"version": "0.4.19",
"version": "0.4.20",
"description": "Quickly add new pages or content to your vault.",
"main": "main.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion src/gui/GenericCheckboxPrompt/genericCheckboxPrompt.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export default class GenericCheckboxPrompt extends Modal{

private display() {
this.contentEl.empty();
this.containerEl.addClass('quickAddModal')
this.containerEl.addClass('quickAddModal', 'checkboxPrompt')
this.addCheckboxRows();
this.addSubmitButton();
}
Expand Down
2 changes: 1 addition & 1 deletion src/gui/GenericInputPrompt/GenericInputPrompt.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export default class GenericInputPrompt extends Modal {
}

private display() {
this.containerEl.addClass('quickAddModal qaInputPrompt')
this.containerEl.addClass('quickAddModal', 'qaInputPrompt')
this.contentEl.empty();
this.titleEl.textContent = this.header;

Expand Down
2 changes: 1 addition & 1 deletion src/gui/GenericWideInputPrompt/GenericWideInputPrompt.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export default class GenericWideInputPrompt extends Modal {
}

private display() {
this.containerEl.addClass('quickAddModal qaWideInputPrompt')
this.containerEl.addClass('quickAddModal', 'qaWideInputPrompt')
this.contentEl.empty();
this.titleEl.textContent = this.header;

Expand Down
2 changes: 1 addition & 1 deletion src/gui/GenericYesNoPrompt/GenericYesNoPrompt.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export default class GenericYesNoPrompt extends Modal {
}

private display() {
this.containerEl.addClass('quickAddModal qaYesNoPrompt')
this.containerEl.addClass('quickAddModal', 'qaYesNoPrompt')
this.contentEl.empty();
this.titleEl.textContent = this.header;
this.contentEl.createEl('p', {text: this.text});
Expand Down
2 changes: 1 addition & 1 deletion src/gui/MacroGUIs/MacroBuilder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ export class MacroBuilder extends Modal {
}

protected display() {
this.containerEl.addClass('quickAddModal macroBuilder');
this.containerEl.addClass('quickAddModal', 'macroBuilder');
this.contentEl.empty();
this.addCenteredHeader(this.macro.name);
this.addCommandList();
Expand Down
2 changes: 1 addition & 1 deletion src/gui/MacroGUIs/UserScriptSettingsModal.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export class UserScriptSettingsModal extends Modal {
}

protected display() {
this.containerEl.addClass('quickAddModal userScriptSettingsModal');
this.containerEl.addClass('quickAddModal', 'userScriptSettingsModal');
this.contentEl.empty();

this.titleEl.innerText = `${this.settings?.name}${this.settings?.author ? " by " + this.settings?.author : ""}`;
Expand Down
2 changes: 1 addition & 1 deletion versions.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
"0.2.16": "0.12.4",
"0.4.17": "0.12.17",
"0.4.18": "0.13.19",
"0.4.19": "0.13.19"
"0.4.20": "0.13.19"
}

0 comments on commit b8ba2d7

Please sign in to comment.