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.
Follow up #33748 Now there are 3 "global" functions: * registerGlobalSelectorFunc: for all elements matching the selector, eg: `.ui.dropdown` * registerGlobalInitFunc: for `data-global-init="initInputAutoFocusEnd"` * registerGlobalEventFunc: for `data-global-click="onCommentReactionButtonClick"` And introduce `initGlobalInput` to replace old `initAutoFocusEnd` and `attachDirAuto`, use `data-global-init` to replace fragile `.js-autofocus-end` selector. Another benefit is that by the new approach, no matter how many times `registerGlobalInitFunc` is called, we only need to do one "querySelectorAll" in the last step, it could slightly improve the performance. |
3 weeks ago | |
---|---|---|
.. | ||
admin | 2 months ago | |
comp | 4 weeks ago | |
captcha.ts | 1 month ago | |
citation.ts | 2 months ago | |
clipboard.ts | 3 months ago | |
code-frequency.ts | 9 months ago | |
codeeditor.ts | 3 months ago | |
colorpicker.ts | 3 months ago | |
common-button.ts | 2 months ago | |
common-fetch-action.ts | 2 months ago | |
common-form.ts | 2 months ago | |
common-issue-list.test.ts | 9 months ago | |
common-issue-list.ts | 3 months ago | |
common-organization.ts | 2 months ago | |
common-page.ts | 3 weeks ago | |
contextpopup.ts | 2 months ago | |
contributors.ts | 3 months ago | |
copycontent.ts | 2 months ago | |
dashboard.ts | 2 months ago | |
dropzone.ts | 2 months ago | |
emoji.ts | 2 months ago | |
eventsource.sharedworker.ts | 3 months ago | |
file-fold.ts | 2 months ago | |
heatmap.ts | 2 months ago | |
imagediff.ts | 2 months ago | |
install.ts | 2 months ago | |
issue.ts | 2 months ago | |
notification.ts | 3 months ago | |
oauth2-settings.ts | 3 months ago | |
org-team.ts | 2 months ago | |
pull-view-file.ts | 2 months ago | |
recent-commits.ts | 9 months ago | |
repo-actions.ts | 2 months ago | |
repo-branch.ts | 4 months ago | |
repo-code.ts | 3 months ago | |
repo-commit.ts | 2 months ago | |
repo-common.test.ts | 1 month ago | |
repo-common.ts | 4 weeks ago | |
repo-diff-commit.ts | 4 months ago | |
repo-diff-commitselect.ts | 9 months ago | |
repo-diff-filetree.ts | 4 weeks ago | |
repo-diff.ts | 3 weeks ago | |
repo-editor.ts | 2 months ago | |
repo-findfile.test.ts | 9 months ago | |
repo-findfile.ts | 2 months ago | |
repo-graph.ts | 4 weeks ago | |
repo-home.ts | 2 months ago | |
repo-issue-content.ts | 2 months ago | |
repo-issue-edit.ts | 2 months ago | |
repo-issue-list.ts | 2 months ago | |
repo-issue-pr-form.ts | 9 months ago | |
repo-issue-pr-status.ts | 4 months ago | |
repo-issue-sidebar-combolist.ts | 2 months ago | |
repo-issue-sidebar.md | 2 months ago | |
repo-issue-sidebar.ts | 3 months ago | |
repo-issue.ts | 2 months ago | |
repo-legacy.ts | 4 weeks ago | |
repo-migrate.ts | 2 months ago | |
repo-migration.ts | 4 months ago | |
repo-milestone.ts | 5 months ago | |
repo-new.ts | 2 months ago | |
repo-projects.ts | 3 months ago | |
repo-release.ts | 3 months ago | |
repo-search.ts | 3 months ago | |
repo-settings-branches.test.ts | 3 months ago | |
repo-settings-branches.ts | 4 months ago | |
repo-settings.ts | 2 months ago | |
repo-unicode-escape.ts | 3 months ago | |
repo-wiki.ts | 2 months ago | |
sshkey-helper.ts | 2 months ago | |
stopwatch.ts | 2 months ago | |
tablesort.ts | 2 months ago | |
tribute.ts | 2 months ago | |
user-auth-webauthn.ts | 2 months ago | |
user-auth.ts | 5 months ago | |
user-settings.ts | 2 months ago |