Calendar: fix incorrect rendering when switching between single week & multi-week views

It wasn't the specific views, but switching between regular and the consolidated / granularity=0 view.
This commit is contained in:
nathan 2022-09-20 15:01:29 -06:00
parent 8ce438f757
commit 1fee91bdd7

View File

@ -1003,6 +1003,10 @@ export class et2_calendar_daycol extends et2_valueWidget implements et2_IDetache
{
columns[c][i].div.prependTo(this.event_wrapper);
}
else if(this.event_wrapper.has(columns[c][i].div).length == 0)
{
columns[c][i].div.appendTo(this.event_wrapper);
}
columns[c][i].div.css('top', '');
columns[c][i].div.css('height', '');
columns[c][i].div.css('left', '');