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.js9
1 files changed, 9 insertions, 0 deletions
diff --git a/web_src/js/index.js b/web_src/js/index.js
index e55e2febe0..dd7032eb84 100644
--- a/web_src/js/index.js
+++ b/web_src/js/index.js
@@ -759,6 +759,15 @@ async function initRepository() {
});
}
+ // Commit statuses
+ $('.commit-statuses-trigger').each(function () {
+ $(this)
+ .popup({
+ on: 'click',
+ position: ($('.repository.file.list').length > 0 ? 'right center' : 'left center'),
+ });
+ });
+
// File list and commits
if ($('.repository.file.list').length > 0 || ('.repository.commits').length > 0) {
initFilterBranchTagDropdown('.choose.reference .dropdown');