summaryrefslogtreecommitdiffstats
path: root/web_src/js/features/repo-legacy.js
diff options
context:
space:
mode:
Diffstat (limited to 'web_src/js/features/repo-legacy.js')
-rw-r--r--web_src/js/features/repo-legacy.js6
1 files changed, 1 insertions, 5 deletions
diff --git a/web_src/js/features/repo-legacy.js b/web_src/js/features/repo-legacy.js
index 851a9b855e..c3bd0ccb76 100644
--- a/web_src/js/features/repo-legacy.js
+++ b/web_src/js/features/repo-legacy.js
@@ -469,11 +469,7 @@ export function initRepository() {
return;
}
- // File list and commits
- if ($('.repository.file.list').length > 0 || $('.branch-dropdown').length > 0 ||
- $('.repository.commits').length > 0 || $('.repository.release').length > 0) {
- initRepoBranchTagSelector('.js-branch-tag-selector');
- }
+ initRepoBranchTagSelector('.js-branch-tag-selector');
// Options
if ($('.repository.settings.options').length > 0) {