From 1a2c4e301618e8908c9b624aa3f306a5f28a3b5f 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 ed3ebfb..21adaa2 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 () {