mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
use POPUP_TYPE text for fontawesome popup
This commit is contained in:
@ -1956,7 +1956,7 @@ export async function showFontAwesomePicker() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
let value;
|
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();
|
await picker.show();
|
||||||
if (picker.result == POPUP_RESULT.AFFIRMATIVE) {
|
if (picker.result == POPUP_RESULT.AFFIRMATIVE) {
|
||||||
return value;
|
return value;
|
||||||
|
Reference in New Issue
Block a user