]> source.dussan.org Git - gitea.git/commit
Remove usage of JS globals (#15378)
authorsilverwind <me@silverwind.io>
Fri, 9 Apr 2021 23:42:38 +0000 (01:42 +0200)
committerGitHub <noreply@github.com>
Fri, 9 Apr 2021 23:42:38 +0000 (19:42 -0400)
commit216976247c1bb958f01a0b33c5f457d7fed62a4d
tree52b5013ceb9fe82e4664a51de2783f1517ff5bfd
parentb9ed3cbc26ca20e0c88a66ed42dbc1268a2343bc
Remove usage of JS globals (#15378)

Refactor the exported globals in index.js to JS-initialized event
handlers.

Co-authored-by: techknowlogick <techknowlogick@gitea.io>
templates/repo/diff/comment_form.tmpl
templates/repo/issue/view_content/sidebar.tmpl
templates/user/auth/signin_inner.tmpl
web_src/js/index.js