File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -1481,14 +1481,18 @@ const app = Vue.createApp({
14811481 if ( this . settings . dark ) {
14821482 brightness = - 40 ;
14831483 }
1484- $ ( '#email-metadata td:contains("' + m [ index ] . status . code + '")' ) . css ( 'background-color' , this . shadeColor ( this . settings . status_color [ m [ index ] . status . code ] , brightness ) ) ;
1485- $ ( '.ui.modal>.header' ) . css ( 'background-color' , this . shadeColor ( this . settings . status_color [ m [ index ] . status . code ] , brightness ) ) ;
1484+ //console.log(m[index].status.code)
1485+ //console.log($('#email-metadata #status_code').parent())
1486+ //$('#email-metadata td:contains("'+m[index].status.code+'")').css('background-color',this.shadeColor(this.settings.status_color[m[index].status.code],brightness));
1487+ $ ( '#email-metadata #status_code' ) . parent ( ) . css ( 'background-color' , this . shadeColor ( this . settings . status_color [ m [ index ] . status . code ] , brightness ) ) ;
1488+ $ ( '#mail-modal .header' ) . css ( 'background-color' , this . shadeColor ( this . settings . status_color [ m [ index ] . status . code ] , brightness ) ) ;
14861489
14871490
14881491 } else {
14891492 // change to inherit due to dark mode changes
1490- $ ( '#email-metadata td:contains("' + m [ index ] . status . code + '")' ) . css ( 'background-color' , 'inherit' ) ;
1491- $ ( '.ui.modal>.header' ) . css ( 'background-color' , 'inherit' ) ;
1493+ //$('#email-metadata td:contains("'+m[index].status.code+'")').css('background-color','inherit');
1494+ $ ( '#email-metadata #status_code' ) . parent ( ) . css ( 'background-color' , 'inherit' ) ;
1495+ $ ( '#mail-modal .header' ) . css ( 'background-color' , 'inherit' ) ;
14921496 }
14931497
14941498 // status localize
You can’t perform that action at this time.
0 commit comments