From c39c20dde32a2e995d0031070aa726e9b417ffd0 Mon Sep 17 00:00:00 2001 From: Simon L Date: Sun, 19 Mar 2023 01:43:25 +0100 Subject: [PATCH] fix-right-click multiselect in trash bin Signed-off-by: Simon L --- js/files.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/files.js b/js/files.js index 7eb238e..216cec7 100644 --- a/js/files.js +++ b/js/files.js @@ -63,7 +63,7 @@ $(currentFile.find('input.selectCheckBox')).click(); }); - $.each($('.selectedActions .menu-center li:not(.hidden)'), function (i, selectedAction) { + $.each($('.selectedActions:not(.hidden) .menu-center li:not(.hidden)'), function (i, selectedAction) { var action = $(selectedAction); addNewOption(action.attr('class'), $(action.find('span.icon')).attr('class').replace('icon', '').replace(' ', '').replace('icon-', ''), $(action.find('span:not(.icon)')).text(), function () {