mirror of
https://github.com/billz/raspap-webgui.git
synced 2025-03-01 10:31:47 +00:00
Use text() instead of replaceWith()
This commit is contained in:
parent
ad36695224
commit
361a2f7531
@ -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');
|
||||
|
Loading…
x
Reference in New Issue
Block a user