aboutsummaryrefslogtreecommitdiffstats
path: root/templates/repo/issue/view_content/context_menu.tmpl
diff options
context:
space:
mode:
authorwxiaoguang <wxiaoguang@gmail.com>2023-03-03 00:46:47 +0800
committerGitHub <noreply@github.com>2023-03-02 11:46:47 -0500
commit0a9a3c2a6df00dec405da1d8d07f1f72548e9e7b (patch)
tree90558ef38e8f01cc78b01ce5ca675d1fa032658b /templates/repo/issue/view_content/context_menu.tmpl
parent294124d129b12673109767abd331c78c71e3bf2c (diff)
downloadgitea-0a9a3c2a6df00dec405da1d8d07f1f72548e9e7b.tar.gz
gitea-0a9a3c2a6df00dec405da1d8d07f1f72548e9e7b.zip
Improve frontend guideline (#23252)
If an event listener must be `async`, the `e.preventDefault()` should be before any `await`, it's recommended to put it at the beginning of the function.
Diffstat (limited to 'templates/repo/issue/view_content/context_menu.tmpl')
0 files changed, 0 insertions, 0 deletions