From d773174bad17d395fcd941681603a7d3482d7129 Mon Sep 17 00:00:00 2001 From: LenAnderson Date: Mon, 15 Jul 2024 18:25:48 -0400 Subject: [PATCH] there was a reason I wanted to use confirm, dammit --- public/scripts/extensions/quick-reply/src/QuickReply.js | 1 + public/scripts/utils.js | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/public/scripts/extensions/quick-reply/src/QuickReply.js b/public/scripts/extensions/quick-reply/src/QuickReply.js index 2a8a51a0b..7508eb1b9 100644 --- a/public/scripts/extensions/quick-reply/src/QuickReply.js +++ b/public/scripts/extensions/quick-reply/src/QuickReply.js @@ -1569,6 +1569,7 @@ export class QuickReply { if (this.icon) { this.settingsDomIcon.classList.remove(this.icon); } + this.settingsDomIcon.textContent = '…'; this.settingsDomIcon.classList.remove('fa-solid'); } else { if (this.icon) { diff --git a/public/scripts/utils.js b/public/scripts/utils.js index 68a0f2028..a630fec3d 100644 --- a/public/scripts/utils.js +++ b/public/scripts/utils.js @@ -1955,8 +1955,8 @@ export async function showFontAwesomePicker() { dom.append(grid); } } - let value; - const picker = new Popup(dom, POPUP_TYPE.TEXT, null, { allowVerticalScrolling:true, okButton: 'Cancel' }); + let value = ''; + const picker = new Popup(dom, POPUP_TYPE.CONFIRM, null, { allowVerticalScrolling:true, okButton: 'No Icon', cancelButton: 'Cancel' }); await picker.show(); if (picker.result == POPUP_RESULT.AFFIRMATIVE) { return value;