From 8c4e1e0901c2ad633fd27743c1bf8f81bcdfc74b Mon Sep 17 00:00:00 2001 From: Simon L Date: Fri, 17 Mar 2023 14:14:19 +0100 Subject: [PATCH] fix multiselect right-click options 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 b212288..ed3ebfb 100644 --- a/js/files.js +++ b/js/files.js @@ -63,7 +63,7 @@ $(currentFile.find('input.selectCheckBox')).click(); }); - $.each($('.selectedActions .menu-center li'), function (i, selectedAction) { + $.each($('.selectedActions .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 () {