summaryrefslogtreecommitdiffstats
path: root/web_src/js/features/contextpopup.js
diff options
context:
space:
mode:
Diffstat (limited to 'web_src/js/features/contextpopup.js')
-rw-r--r--web_src/js/features/contextpopup.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/web_src/js/features/contextpopup.js b/web_src/js/features/contextpopup.js
index c685d93db0..7b37035547 100644
--- a/web_src/js/features/contextpopup.js
+++ b/web_src/js/features/contextpopup.js
@@ -6,8 +6,11 @@ import {createTippy} from '../modules/tippy.js';
export function initContextPopups() {
const refIssues = $('.ref-issue');
- if (!refIssues.length) return;
+ attachRefIssueContextPopup(refIssues);
+}
+export function attachRefIssueContextPopup(refIssues) {
+ if (!refIssues.length) return;
refIssues.each(function () {
if ($(this).hasClass('ref-external-issue')) {
return;