From e65e3d81d9d7f5ea7dd703173c7f8d68f3052a00 Mon Sep 17 00:00:00 2001 From: wangzemei Date: Wed, 28 Sep 2022 11:08:20 +0800 Subject: [PATCH] * fix select class bug about xuanxuan --- .../xuan/common/ext/view/header.xuanxuan.html.hook.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xuanxuan/extension/xuan/common/ext/view/header.xuanxuan.html.hook.php b/xuanxuan/extension/xuan/common/ext/view/header.xuanxuan.html.hook.php index 805be1c840..46323568ca 100644 --- a/xuanxuan/extension/xuan/common/ext/view/header.xuanxuan.html.hook.php +++ b/xuanxuan/extension/xuan/common/ext/view/header.xuanxuan.html.hook.php @@ -26,7 +26,7 @@ $(function() const mainHeader = document.getElementById('mainHeader'); if(!mainHeader) return; const style = window.getComputedStyle(mainHeader, null); - const color = window.getComputedStyle(document.querySelector('#navbar .nav>li:not(.active)>a'), null).color; + const color = window.getComputedStyle(document.querySelector('#userMenu .nav>li:not(.active)>a'), null).color; const clientHeaderStyle = {windowControlBtnColor: color, background: style.background, color: color}; window.parent.appHeaderStyleUpdated = true; window.open('xxc://setAppHeaderStyle/zentao-integrated/' + encodeURIComponent(JSON.stringify(clientHeaderStyle)), '_blank');