mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-02-03 04:37:40 +01:00
/input should return empty string if canceled
This commit is contained in:
parent
bd9c10c2eb
commit
946994af22
@ -1799,7 +1799,7 @@ async function inputCallback(args, prompt) {
|
||||
await delay(1);
|
||||
const result = await callGenericPopup(safeValue, POPUP_TYPE.INPUT, defaultInput, popupOptions);
|
||||
await delay(1);
|
||||
return String(result);
|
||||
return String(result || '');
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user