]> source.dussan.org Git - gitea.git/commit
Fix JS error when opening to expanded code comment (#30463)
authorsilverwind <me@silverwind.io>
Sun, 14 Apr 2024 07:16:03 +0000 (09:16 +0200)
committerGitHub <noreply@github.com>
Sun, 14 Apr 2024 07:16:03 +0000 (15:16 +0800)
commitce130ae8daa37c977443045390209e9095dc42b1
tree2332653e6f647a455ab51c792147aee00da59fec
parentb18c04ebde94e23d97da4958173faea843d5344f
Fix JS error when opening to expanded code comment (#30463)

Fix regression from
https://github.com/go-gitea/gitea/commit/e0b018706fa7703ef1759d9a75a1399383715808
where opening to a code comment via hash link would give this error:

<img width="1247" alt="image"
src="https://github.com/go-gitea/gitea/assets/115237/f9aaeded-8492-4416-9a73-afa0c56220a7">

---------

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
web_src/js/features/repo-issue.js