better placement when multiple buttons from others plugins

This commit is contained in:
Jean-Christian Paul Denis 2023-04-24 02:26:47 +02:00
parent 6f5e6f42b3
commit dce3e1c094
Signed by: JcDenis
GPG Key ID: 1B5B8C5B90B6C951

View File

@ -2,5 +2,7 @@
'use strict'; 'use strict';
$(() => { $(() => {
$('a.uninstall_module_button').parent().find('input.delete').hide(); $('a.uninstall_module_button').each(function () {
$(this).parent().find('input.delete').replaceWith($(this));
});
}); });