diff --git a/web_src/js/features/repo-legacy.js b/web_src/js/features/repo-legacy.js index 4d2f25148c..523ce555c4 100644 --- a/web_src/js/features/repo-legacy.js +++ b/web_src/js/features/repo-legacy.js @@ -90,6 +90,9 @@ export function initRepoCommentForm() { $(`.${selector}`).dropdown({ 'action': 'nothing', // do not hide the menu if user presses Enter fullTextSearch: 'exact', + selector: { + unselectable: '.disabled, .filtered, .tw-hidden', + }, async onHide() { hasUpdateAction = $listMenu.data('action') === 'update'; // Update the var if (hasUpdateAction) {