From 361a2f75311cfa1c9b9de0cbf942a1c43ba89cf2 Mon Sep 17 00:00:00 2001 From: billz Date: Thu, 26 Dec 2024 09:17:12 -0800 Subject: [PATCH] Use text() instead of replaceWith() --- app/js/custom.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/js/custom.js b/app/js/custom.js index d68c94f1..396313e6 100644 --- a/app/js/custom.js +++ b/app/js/custom.js @@ -517,7 +517,7 @@ $('#js-install-plugin-confirm').on('click', function (e) { setTimeout(function(){ response = JSON.parse(data); if (response === true) { - $('#plugin-install-message').contents().first().replaceWith(successHtml); + $('#plugin-install-message').contents().first().text(successHtml); $('#plugin-install-message').find('i') .removeClass('fas fa-cog fa-spin link-secondary') .addClass('fas fa-check');