]> source.dussan.org Git - gitea.git/commit
Make a.add-code-comment click handler an event handler (#17737)
authorzeripath <art27@cantab.net>
Sat, 20 Nov 2021 12:12:59 +0000 (12:12 +0000)
committerGitHub <noreply@github.com>
Sat, 20 Nov 2021 12:12:59 +0000 (20:12 +0800)
commit0d69e64e03de735e7116813643a37a64d8418eb4
tree9e94293acb5d0df6174673f2eb40b257a8780fcd
parent013fb73068281b45b33c72abaae0c42c8d79c499
Make a.add-code-comment click handler an event handler (#17737)

Instead of directly attaching the add-code-comment on click handler to
the a.add-code-comment elements - make this an event handler on the
document instead.

Fix #17736

Signed-off-by: Andrew Thornton <art27@cantab.net>
web_src/js/features/repo-issue.js