(css,js) Fix display of all-day events

This commit is contained in:
Francis Lachapelle
2016-01-27 10:28:40 -05:00
parent b064512549
commit be441f5cd3
3 changed files with 18 additions and 6 deletions
@@ -85,8 +85,10 @@
// Set position
iElement.css('left', left + '%');
iElement.css('right', right + '%');
iElement.addClass('starts' + scope.block.start);
iElement.addClass('lasts' + scope.block.length);
if (!scope.block.component || !scope.block.component.c_isallday) {
iElement.addClass('starts' + scope.block.start);
iElement.addClass('lasts' + scope.block.length);
}
// Set background color
if (scope.block.component)