Skip to content
代码片段 群组 项目
未验证 提交 f9f66a45 编辑于 作者: Mark Florian's avatar Mark Florian
浏览文件

chore: Remove dead event listener

The `.js-more-help-button` element was removed nearly three years ago in
https://gitlab.com/gitlab-org/gitlab/-/merge_requests/34660, so this
event listener will never get called.
上级 fbf61779
No related branches found
No related tags found
无相关合并请求
......@@ -119,11 +119,6 @@ export default class Shortcuts {
});
}
$(document).on('click.more_help', '.js-more-help-button', function clickMoreHelp(e) {
$(this).remove();
e.preventDefault();
});
const shortcutsModalTriggerEvent = 'click.shortcutsModalTrigger';
// eslint-disable-next-line @gitlab/no-global-event-off
$(document)
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册