mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
/input should return empty string if canceled
This commit is contained in:
@@ -1799,7 +1799,7 @@ async function inputCallback(args, prompt) {
|
|||||||
await delay(1);
|
await delay(1);
|
||||||
const result = await callGenericPopup(safeValue, POPUP_TYPE.INPUT, defaultInput, popupOptions);
|
const result = await callGenericPopup(safeValue, POPUP_TYPE.INPUT, defaultInput, popupOptions);
|
||||||
await delay(1);
|
await delay(1);
|
||||||
return String(result);
|
return String(result || '');
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user