Skip to content

Commit

Permalink
.fc-state-highlight has been removed for some reason... so we have to…
Browse files Browse the repository at this point in the history
… use a different css auto generated css class
  • Loading branch information
Julian1998 committed Sep 11, 2018
1 parent 1829c6c commit ec3c29e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/app/controllers/calcontroller.js
Original file line number Diff line number Diff line change
Expand Up @@ -314,9 +314,9 @@ app.controller('CalController', ['$scope', 'Calendar', 'CalendarService', 'VEven
$scope.defaultView = newView;
}
if (newView === 'agendaDay') {
angular.element('td.fc-state-highlight').css('background-color', '#ffffff');
angular.element('td.fc-today').css('background-color', '#ffffff');
} else {
angular.element('.fc-bg td.fc-state-highlight').css('background-color', '#ffa');
angular.element('.fc-bg td.fc-today').css('background-color', '#ffa');
}
if (newView ==='agendaWeek') {
element.fullCalendar('option', 'aspectRatio', 0.1);
Expand Down

0 comments on commit ec3c29e

Please sign in to comment.