forked from extern/egroupware
fix background-color reported as "" stalls rendering of calendar
This commit is contained in:
parent
096981ea3f
commit
590d41bfb5
@ -858,7 +858,7 @@ export class et2_calendar_daycol extends et2_valueWidget implements et2_IDetache
|
||||
{
|
||||
// Avoid white, which is hard to see
|
||||
// Use border-bottom-color, Firefox doesn't give a value with border-color
|
||||
const color = (new ColorTranslator(event.div.css('background-color'))).RGB !== 'rgb(255,255,255)' ?
|
||||
const color = (new ColorTranslator(event.div.css('background-color') || '#FFFFFF')).RGB !== 'rgb(255,255,255)' ?
|
||||
event.div.css('background-color') : event.div.css('border-bottom-color');
|
||||
if(color !== 'rgba(0, 0, 0, 0)')
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user