diff --git a/manifest.json b/manifest.json index 77921de..9c699c4 100644 --- a/manifest.json +++ b/manifest.json @@ -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", diff --git a/package.json b/package.json index 3c754d2..6c84c71 100644 --- a/package.json +++ b/package.json @@ -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": { diff --git a/src/gui/GenericCheckboxPrompt/genericCheckboxPrompt.ts b/src/gui/GenericCheckboxPrompt/genericCheckboxPrompt.ts index c588ef5..819b0fe 100644 --- a/src/gui/GenericCheckboxPrompt/genericCheckboxPrompt.ts +++ b/src/gui/GenericCheckboxPrompt/genericCheckboxPrompt.ts @@ -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(); } diff --git a/src/gui/GenericInputPrompt/GenericInputPrompt.ts b/src/gui/GenericInputPrompt/GenericInputPrompt.ts index 717aa4f..877020b 100644 --- a/src/gui/GenericInputPrompt/GenericInputPrompt.ts +++ b/src/gui/GenericInputPrompt/GenericInputPrompt.ts @@ -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; diff --git a/src/gui/GenericWideInputPrompt/GenericWideInputPrompt.ts b/src/gui/GenericWideInputPrompt/GenericWideInputPrompt.ts index 1ae7821..db7afb8 100644 --- a/src/gui/GenericWideInputPrompt/GenericWideInputPrompt.ts +++ b/src/gui/GenericWideInputPrompt/GenericWideInputPrompt.ts @@ -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; diff --git a/src/gui/GenericYesNoPrompt/GenericYesNoPrompt.ts b/src/gui/GenericYesNoPrompt/GenericYesNoPrompt.ts index 5d8ac85..2587732 100644 --- a/src/gui/GenericYesNoPrompt/GenericYesNoPrompt.ts +++ b/src/gui/GenericYesNoPrompt/GenericYesNoPrompt.ts @@ -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}); diff --git a/src/gui/MacroGUIs/MacroBuilder.ts b/src/gui/MacroGUIs/MacroBuilder.ts index 840eac7..f1257f4 100644 --- a/src/gui/MacroGUIs/MacroBuilder.ts +++ b/src/gui/MacroGUIs/MacroBuilder.ts @@ -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(); diff --git a/src/gui/MacroGUIs/UserScriptSettingsModal.ts b/src/gui/MacroGUIs/UserScriptSettingsModal.ts index f1b1a5e..6035798 100644 --- a/src/gui/MacroGUIs/UserScriptSettingsModal.ts +++ b/src/gui/MacroGUIs/UserScriptSettingsModal.ts @@ -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 : ""}`; diff --git a/versions.json b/versions.json index 51443ee..2075dff 100644 --- a/versions.json +++ b/versions.json @@ -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" }