* Fix text color in app header in client.
This commit is contained in:
@@ -15,7 +15,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>a'), null).color;
|
||||
const color = window.getComputedStyle(document.querySelector('#navbar .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');
|
||||
|
||||
Reference in New Issue
Block a user