fix month events categories display
This commit is contained in:
parent
103bb6803a
commit
017a85b7f2
|
@ -2074,10 +2074,9 @@ function newEventDIV(eventRep, event) {
|
|||
var left = eventRep.position * pc;
|
||||
eventCell.style.left = left + "%";
|
||||
var right = 100 - (eventRep.position + 1) * pc;
|
||||
|
||||
if (event[10] != null) {
|
||||
if (event[10] != null)
|
||||
eventCell.style.borderRight = "8px solid";
|
||||
}
|
||||
|
||||
eventCell.style.right = right + "%";
|
||||
eventCell.addClassName("starts" + eventRep.start);
|
||||
eventCell.addClassName("lasts" + eventRep.length);
|
||||
|
@ -2118,6 +2117,8 @@ function newMonthEventDIV(eventRep, event) {
|
|||
|
||||
var eventCell = newBaseEventDIV(eventRep, event,
|
||||
eventText);
|
||||
if (event[10] != null)
|
||||
eventCell.style.borderRight = "8px solid";
|
||||
|
||||
return eventCell;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue