summaryrefslogtreecommitdiffstats
path: root/web_src/js/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'web_src/js/index.js')
-rw-r--r--web_src/js/index.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/web_src/js/index.js b/web_src/js/index.js
index 1716df9e7f..89cc0aa11c 100644
--- a/web_src/js/index.js
+++ b/web_src/js/index.js
@@ -781,7 +781,8 @@ async function initRepository() {
});
// File list and commits
- if ($('.repository.file.list').length > 0 || ('.repository.commits').length > 0) {
+ if ($('.repository.file.list').length > 0 ||
+ $('.repository.commits').length > 0 || $('.repository.release').length > 0) {
initFilterBranchTagDropdown('.choose.reference .dropdown');
}