Skip to content

Commit 67d16c6

Browse files
authored
Fix branch selector on release page in 1.19 (go-gitea#25706)
Fix go-gitea#25705 Regression of go-gitea#24369 There is no problem in 1.20 because there is go-gitea#24459
1 parent d424357 commit 67d16c6

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

web_src/js/features/repo-legacy.js

+1-6
Original file line numberDiff line numberDiff line change
@@ -486,12 +486,7 @@ export function initRepository() {
486486
return;
487487
}
488488

489-
490-
// File list and commits
491-
if ($('.repository.file.list').length > 0 || $('.branch-dropdown').length > 0 ||
492-
$('.repository.commits').length > 0 || $('.repository.release').length > 0) {
493-
initRepoBranchTagDropdown('.choose.reference .dropdown');
494-
}
489+
initRepoBranchTagDropdown('.choose.reference .dropdown');
495490

496491
// Wiki
497492
if ($('.repository.wiki.view').length > 0) {

0 commit comments

Comments
 (0)