From 717c524b0144b6784c7e7901248d3707a5c98838 Mon Sep 17 00:00:00 2001 From: Wolfsblvt Date: Wed, 26 Jun 2024 05:01:58 +0200 Subject: [PATCH] Update copy message to new popup --- public/script.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/script.js b/public/script.js index d0b95707b..cd24addcb 100644 --- a/public/script.js +++ b/public/script.js @@ -10052,7 +10052,7 @@ jQuery(async function () { }); $(document).on('click', '.mes_edit_copy', async function () { - const confirmation = await callPopup('Create a copy of this message?', 'confirm'); + const confirmation = await callGenericPopup('Create a copy of this message?', POPUP_TYPE.CONFIRM); if (!confirmation) { return; } @@ -10082,7 +10082,7 @@ jQuery(async function () { let deleteOnlySwipe = false; if (power_user.confirm_message_delete && fromSlashCommand !== true) { - const result = await callGenericPopup('Are you sure you want to delete this?', POPUP_TYPE.CONFIRM, null, { + const result = await callGenericPopup('Are you sure you want to delete this message?', POPUP_TYPE.CONFIRM, null, { okButton: canDeleteSwipe ? 'Delete Swipe' : 'Delete Message', cancelButton: 'Cancel', customButtons: canDeleteSwipe ? ['Delete Message'] : null,