From 524c4bb36ac126e4064dd85dafa35b856b5617a1 Mon Sep 17 00:00:00 2001 From: Daniel Beck Date: Tue, 8 Aug 2023 13:12:40 +0200 Subject: [PATCH] Fix formatting --- .../resources/lib/hudson/project/configurable/adjunct.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/src/main/resources/lib/hudson/project/configurable/adjunct.js b/core/src/main/resources/lib/hudson/project/configurable/adjunct.js index 9ae96e340acc..45a62010d98a 100644 --- a/core/src/main/resources/lib/hudson/project/configurable/adjunct.js +++ b/core/src/main/resources/lib/hudson/project/configurable/adjunct.js @@ -1,12 +1,12 @@ window["lib_hudson_project_configurable_build_now_callback"] = function ( el, - ev + ev, ) { let parameterized = el.dataset.parameterized; let success = el.dataset.success; if (parameterized === "false") { - fetch(a.href, { - method: 'post', + fetch(el.href, { + method: "post", headers: crumb.wrap({}), }); hoverNotification(success, ev.target.parentNode);