]> source.dussan.org Git - gitea.git/commit
Remove unnecessary and incorrect `find('.menu').toggle()` (#22987)
authorwxiaoguang <wxiaoguang@gmail.com>
Mon, 20 Feb 2023 20:44:32 +0000 (04:44 +0800)
committerGitHub <noreply@github.com>
Mon, 20 Feb 2023 20:44:32 +0000 (14:44 -0600)
commit330b16642305458339d12222eea2ee9a1bbb3b64
treed4d1982cab9895b0ab4920444e4ec10a903abe39
parentf4ce8c73fbeadb84daba8c8c68f46f911339b8f8
Remove unnecessary and incorrect `find('.menu').toggle()` (#22987)

Follows:
* #22950

The dropdown menu works well without these codes.

The reason is that the event bubbling still works for the dropdown menu,
the Fomantic UI dropdown menu module will hide the menu correctly if an
item is clicked.
web_src/js/features/repo-issue.js
web_src/js/features/repo-legacy.js