mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
there was a reason I wanted to use confirm, dammit
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user