I have the following JS function:
function addTopLinks() {
$('#calendar .fc-view-resourceNextWeeks thead th .fc-resourceName')
.addClass('top-cell');
};
It is not adding the class.
I have another:
function addDayClass() {
$('#calendar .fc-view-resourceNextWeeks thead th')
.filter(function () {
if ($(this).text().indexOf('Mon ') == 0) return true;
return false;
})
.addClass('monday');
};
That one works just fine.
This is the hierarchy:
I am really not sure why the first one is working and not this one...
Thanks
addTopLinks?