Popup: do not require body text on input/confirm

569f9a209155da3f484408b7e05c245af2369c0e

Cohee <18619528+Cohee1207@users.noreply.github.com>

1 files changed, +2 -2Ignore whitespace
public/scripts/popup.js+2 -2
@@ -75,7 +75,7 @@ const showPopupHelper = {
7575 * Asynchronously displays an input popup with the given header and text, and returns the user's input.
7676 *
7777 * @param {string?} header - The header text for the popup.
7878 * @param {string?} [text] - The main text for the popup.
7979 * @param {string} [defaultValue=''] - The default value for the input field.
8080 * @param {PopupOptions} [popupOptions={}] - Options for the popup.
8181 * @return {Promise<string?>} A Promise that resolves with the user's input.
@@ -94,7 +94,7 @@ const showPopupHelper = {
9494 * Asynchronously displays a confirmation popup with the given header and text, returning the clicked result button value.
9595 *
9696 * @param {string?} header - The header text for the popup.
9797 * @param {string?} [text] - The main text for the popup.
9898 * @param {PopupOptions} [popupOptions={}] - Options for the popup.
9999 * @return {Promise<POPUP_RESULT?>} A Promise that resolves with the result of the user's interaction.
100100 */