diff --git a/module/index/js/index.ui.js b/module/index/js/index.ui.js index a44a5f07b8..fe266dcc89 100644 --- a/module/index/js/index.ui.js +++ b/module/index/js/index.ui.js @@ -853,6 +853,14 @@ $('#menuNav .divider').on('contextmenu', function(event) } ); } + items.push( + { + text: langData.hide, + onClick: () => { + $divider.closest('li').remove(); + } + } + ); zui.ContextMenu.show( { @@ -923,6 +931,14 @@ $(document).on('click', '.open-in-app,.show-in-app', function(e) ); } + items.push( + { + text: langData.hide, + onClick: () => { + $btn.closest('li').remove(); + } + } + ); zui.ContextMenu.show( { hideOthers: true,