From f8e78b982e6dd71d75b1dc0d764f489b3b5fca26 Mon Sep 17 00:00:00 2001 From: Botcha Pinaki Rama Bhavabhuthi Date: Sat, 7 Sep 2024 12:38:40 +0530 Subject: [PATCH] Remove .main-panel The CSS class .main-panel has been removed in the latest version, leading to the plugin successfully importing but failing to show the xkcd panel. Hence, removed the class and tested the changes in Rundeck 5.5.x --- resources/js/main.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/js/main.js b/resources/js/main.js index c70527f..2a0cb5e 100644 --- a/resources/js/main.js +++ b/resources/js/main.js @@ -11,7 +11,7 @@ function initXKCD() { xkcd.id = "xkcdfield"; para.appendChild(xkcd); - var x = jQuery(".main-panel .content").prepend(para); + var x = jQuery(".content").prepend(para); if(rundeckPage.path() === "menu/projectHome"){ //on any project page @@ -52,4 +52,4 @@ function url_path(baseUrl) { } } } -} \ No newline at end of file +}