From 9f6bf542829ad1248af0b4dc6af08bdf65d4a1f6 Mon Sep 17 00:00:00 2001 From: EBIBO Date: Tue, 26 Sep 2023 05:10:11 +0800 Subject: [PATCH] [JENKINS-71890] Model links in build history views and administrative monitors no longer work (#8485) --- war/src/main/js/components/dropdowns/jumplists.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/war/src/main/js/components/dropdowns/jumplists.js b/war/src/main/js/components/dropdowns/jumplists.js index 31d799381579..3297da22e9ea 100644 --- a/war/src/main/js/components/dropdowns/jumplists.js +++ b/war/src/main/js/components/dropdowns/jumplists.js @@ -11,7 +11,7 @@ function init() { * Appends a ⌄ button at the end of links which support jump lists */ function generateJumplistAccessors() { - document.querySelectorAll("A.model-link").forEach((link) => { + behaviorShim.specify("A.model-link", "-jumplist-", 999, (link) => { const isFirefox = navigator.userAgent.indexOf("Firefox") !== -1; // Firefox adds unwanted lines when copying buttons in text, so use a span instead const dropdownChevron = document.createElement(