forgejo/templates/repo/diff
silverwind fd094eea95 fix commit view JS features, reimplement folding (#9968)
* fix commit view JS features, reimplement folding

File content folding was not working so I reimplemented it in a saner
way. Then I noticed the issue was actually because of missing JS
libraries (seen on the console of every commit with error
'SimpleMDE is not defined').

Fixed the libraries. I think the reimplementation is worth to keep.

* add .closest polyfill

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
2020-01-26 08:17:25 +00:00
..
blob_excerpt.tmpl Expand/Collapse Files and Blob Excerpt while Reviewing/Comparing code (#8924) 2019-11-15 10:52:59 +08:00
box.tmpl fix commit view JS features, reimplement folding (#9968) 2020-01-26 08:17:25 +00:00
comment_form.tmpl Mark PR reviews as stale at push and allow to dismiss stale approvals (#9532) 2020-01-09 01:47:45 +00:00
comment_form_datahandler.tmpl
comments.tmpl Migrate reviews when migrating repository from github (#9463) 2020-01-23 19:28:15 +02:00
compare.tmpl Create PR on Current Repository by Default (#8670) 2019-10-30 13:58:18 +08:00
image_diff.tmpl Bugfix for image compare and minor improvements to image compare (#8289) 2019-10-04 15:58:54 -04:00
new_comment.tmpl
new_review.tmpl Mark PR reviews as stale at push and allow to dismiss stale approvals (#9532) 2020-01-09 01:47:45 +00:00
options_dropdown.tmpl FIX download diff/patch from commit (#8792) 2019-11-02 18:47:25 -04:00
section_unified.tmpl Expand/Collapse Files and Blob Excerpt while Reviewing/Comparing code (#8924) 2019-11-15 10:52:59 +08:00
whitespace_dropdown.tmpl