Calendar: Fix current time line sometimes missing in planner view

This commit is contained in:
nathangray 2020-10-14 13:54:04 -06:00
parent 829bcf4602
commit 006bfefbe1
2 changed files with 2 additions and 0 deletions

View File

@ -852,6 +852,7 @@ var et2_calendar_planner = /** @class */ (function (_super) {
return false; return false;
} }
this.now_div.appendTo(this.grid) this.now_div.appendTo(this.grid)
.show()
.css('left', row._time_to_position(now) + '%'); .css('left', row._time_to_position(now) + '%');
}; };
/** /**

View File

@ -1095,6 +1095,7 @@ export class et2_calendar_planner extends et2_calendar_view implements et2_IDeta
return false; return false;
} }
this.now_div.appendTo(this.grid) this.now_div.appendTo(this.grid)
.show()
.css('left', row._time_to_position(now) + '%'); .css('left', row._time_to_position(now) + '%');
} }