mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-03-15 11:30:09 +01:00
use POPUP_TYPE text for fontawesome popup
This commit is contained in:
parent
ff39902f12
commit
a0720343f3
@ -1956,7 +1956,7 @@ export async function showFontAwesomePicker() {
|
||||
}
|
||||
}
|
||||
let value;
|
||||
const picker = new Popup(dom, POPUP_TYPE.CONFIRM, null, { allowVerticalScrolling:true });
|
||||
const picker = new Popup(dom, POPUP_TYPE.TEXT, null, { allowVerticalScrolling:true, okButton: 'Cancel' });
|
||||
await picker.show();
|
||||
if (picker.result == POPUP_RESULT.AFFIRMATIVE) {
|
||||
return value;
|
||||
|
Loading…
x
Reference in New Issue
Block a user