From dce3e1c094a6dd883fe48e4e4dad3664fc8ea3c4 Mon Sep 17 00:00:00 2001 From: Jean-Christian Denis Date: Mon, 24 Apr 2023 02:26:47 +0200 Subject: [PATCH] better placement when multiple buttons from others plugins --- js/backend.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/js/backend.js b/js/backend.js index 42b8039..06b18df 100644 --- a/js/backend.js +++ b/js/backend.js @@ -2,5 +2,7 @@ 'use strict'; $(() => { - $('a.uninstall_module_button').parent().find('input.delete').hide(); + $('a.uninstall_module_button').each(function () { + $(this).parent().find('input.delete').replaceWith($(this)); + }); }); \ No newline at end of file