aboutsummaryrefslogtreecommitdiffstats
path: root/web_src/js/index.js
diff options
context:
space:
mode:
authorwxiaoguang <wxiaoguang@gmail.com>2023-05-10 23:50:58 +0800
committerGitHub <noreply@github.com>2023-05-10 15:50:58 +0000
commit23ae939ef3ef03848038372de21490725855b5f9 (patch)
treefaaf98dea14e8ac6fd0e60df67f0f94c8bee97d7 /web_src/js/index.js
parent54f399c4df7d3470fff570afc145cbec3f0dcd40 (diff)
downloadgitea-23ae939ef3ef03848038372de21490725855b5f9.tar.gz
gitea-23ae939ef3ef03848038372de21490725855b5f9.zip
Improve "goto issue by number" button (#24577)
Follow #24479 ![image](https://user-images.githubusercontent.com/2114189/236694114-c5cb42ff-456d-465a-bcb9-89ed5959d346.png) ![image](https://user-images.githubusercontent.com/2114189/236694119-052e689c-6264-4468-9ab3-0e5c97521bec.png) ![image](https://user-images.githubusercontent.com/2114189/236694139-f8940765-42ce-462d-b49e-50a416cc6f85.png) ![image](https://user-images.githubusercontent.com/2114189/236694154-6d8a000c-9ef3-4d07-af1c-59b0cf8f4d33.png) ![image](https://user-images.githubusercontent.com/2114189/236694166-3bc3e585-7955-44aa-af34-b33ae91e132f.png) --------- Co-authored-by: silverwind <me@silverwind.io> Co-authored-by: Giteabot <teabot@gitea.io>
Diffstat (limited to 'web_src/js/index.js')
-rw-r--r--web_src/js/index.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/web_src/js/index.js b/web_src/js/index.js
index 10e2ecd289..a837375b4e 100644
--- a/web_src/js/index.js
+++ b/web_src/js/index.js
@@ -30,7 +30,7 @@ import {
initRepoIssueWipTitle,
initRepoPullRequestMergeInstruction,
initRepoPullRequestAllowMaintainerEdit,
- initRepoPullRequestReview, initRepoIssueSidebarList, initRepoIssueGotoID
+ initRepoPullRequestReview, initRepoIssueSidebarList
} from './features/repo-issue.js';
import {
initRepoEllipsisButton,
@@ -81,6 +81,7 @@ import {initGlobalTooltips} from './modules/tippy.js';
import {initGiteaFomantic} from './modules/fomantic.js';
import {onDomReady} from './utils/dom.js';
import {initRepoIssueList} from './features/repo-issue-list.js';
+import {initCommonIssueListQuickGoto} from './features/common-issue-list.js';
// Init Gitea's Fomantic settings
initGiteaFomantic();
@@ -98,6 +99,7 @@ onDomReady(() => {
initGlobalLinkActions();
initCommonOrganization();
+ initCommonIssueListQuickGoto();
initCompSearchUserBox();
initCompWebHookEditor();
@@ -175,5 +177,4 @@ onDomReady(() => {
initUserAuthWebAuthnRegister();
initUserSettings();
initRepoDiffView();
- initRepoIssueGotoID();
});