☠ better character deletion warning ☠

This commit is contained in:
RossAscends
2023-05-18 02:58:27 +09:00
parent 9156e7f43d
commit ba4d7fa3ea
2 changed files with 7 additions and 4 deletions

View File

@ -1156,7 +1156,7 @@
</span>
<div class="widthFreeExpand">
<div class="flex-container">
<input id="poe_token" class="text_pole flex1" type="text" maxlength="100" autocomplete="off" />
<input id="poe_token" class="text_pole flex1" type="text" maxlength="100" autocomplete="off" />
<div title="Clear your API key" class="menu_button fa-solid fa-circle-xmark clear-api-key" data-key="api_key_poe"></div>
</div>
<div class="neutral_warning">For privacy reasons, your API key will be hidden after you reload the page.</div>
@ -1909,7 +1909,7 @@
<label for="create_button" id="create_button_label" class="menu_button fa-solid fa-user-check" title="Create Character">
<input type="submit" id="create_button" name="create_button">
</label>
<div id="delete_button" class="menu_button fa-solid fa-trash-can " title="Delete Character"></div>
<div id="delete_button" class="menu_button fa-solid fa-skull " title="Delete Character"></div>
</div>
</div>
<div title="Token counts may be inaccurate and provided just for reference." id="result_info">&nbsp;</div>

View File

@ -5412,8 +5412,11 @@ $(document).ready(function () {
$("#delete_button").click(function () {
popup_type = "del_ch";
callPopup(
"<h3>Delete the character?</h3>Your chat will be closed."
callPopup(`
<h3>Delete the character?</h3>
<b>THIS IS PERMANENT!<br><br>
THIS WILL ALSO DELETE ALL<br>
OF THE CHARACTER'S CHAT FILES.<br><br></b>`
);
});