gitea/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
box.tmpl fix commit view JS features, reimplement folding (#9968) 2020-01-26 08:17:25 +00:00
comment_form_datahandler.tmpl
comment_form.tmpl
comments.tmpl
compare.tmpl
image_diff.tmpl
new_comment.tmpl
new_review.tmpl
options_dropdown.tmpl
section_unified.tmpl
whitespace_dropdown.tmpl