From 9a50ae49f5b98f032fbcfdf425933e2324399392 Mon Sep 17 00:00:00 2001 From: Yarden Shoham <git@yardenshoham.com> Date: Sat, 17 Feb 2024 12:27:19 +0000 Subject: [PATCH] Remove jQuery from issue reference context popup attach - Switched to plain JavaScript - Tested the context popup functionality and it works as before Signed-off-by: Yarden Shoham <git@yardenshoham.com> --- web_src/js/features/contextpopup.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/web_src/js/features/contextpopup.js b/web_src/js/features/contextpopup.js index 23a620b8a23cb..51363b810a0b3 100644 --- a/web_src/js/features/contextpopup.js +++ b/web_src/js/features/contextpopup.js @@ -1,11 +1,10 @@ -import $ from 'jquery'; import {createApp} from 'vue'; import ContextPopup from '../components/ContextPopup.vue'; import {parseIssueHref} from '../utils.js'; import {createTippy} from '../modules/tippy.js'; export function initContextPopups() { - const refIssues = $('.ref-issue'); + const refIssues = document.querySelectorAll('.ref-issue'); attachRefIssueContextPopup(refIssues); }