From 5d01fa59b1e47998daf2a036fe393b98fc4ffa66 Mon Sep 17 00:00:00 2001 From: Bill Zimmerman Date: Sun, 26 Jan 2025 11:50:33 +0100 Subject: [PATCH] Fix for DOM text reinterpreted as HTML Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com> --- 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 842494b8..cbf26fa9 100644 --- a/app/js/custom.js +++ b/app/js/custom.js @@ -524,7 +524,7 @@ $('#js-install-plugin-confirm').on('click', function (e) { setTimeout(function () { response = JSON.parse(data); if (response === true) { - $('#plugin-install-message').contents().first().replaceWith(successText); + $('#plugin-install-message').contents().first().text(successText); $('#plugin-install-message') .find('i') .removeClass('fas fa-cog fa-spin link-secondary')