there was a reason I wanted to use confirm, dammit
This commit is contained in:
parent
27338ca867
commit
d773174bad
|
@ -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) {
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue