mirror of https://github.com/go-gitea/gitea.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1. Rewrite `dirauto.ts` to `observer.ts`. * We have been using MutationObserver for long time, it's proven that it is quite performant. * Now we extend its ability to handle more "init" works. 2. Use `observeAddedElement` to init all non-custom "dropdown". 3. Use `data-global-click` to handle click events from dynamically loaded elements. * By this new approach, the old fragile selector-based (`.comment-reaction-button`) mechanism is removed. 4. By the way, remove unused `.diff-box` selector, it was abused and never really used. A lot of FIXMEs in "repo-diff.ts" are completely fixed, newly loaded contents could work as expected. |
1 month ago | |
---|---|---|
.. | ||
blob_excerpt.tmpl | 3 months ago | |
box.tmpl | 1 month ago | |
comment_form.tmpl | 4 months ago | |
comment_form_datahandler.tmpl | 3 years ago | |
comments.tmpl | 2 months ago | |
compare.tmpl | 3 months ago | |
conversation.tmpl | 10 months ago | |
conversation_outdated.tmpl | 1 year ago | |
csv_diff.tmpl | 3 years ago | |
escape_title.tmpl | 3 months ago | |
image_diff.tmpl | 9 months ago | |
new_comment.tmpl | 4 years ago | |
new_review.tmpl | 2 months ago | |
options_dropdown.tmpl | 1 month ago | |
section_code.tmpl | 2 years ago | |
section_split.tmpl | 3 months ago | |
section_unified.tmpl | 3 months ago | |
stats.tmpl | 1 year ago | |
whitespace_dropdown.tmpl | 10 months ago |