everyone! I'm trying to show tooltip over events in fullcalendar. But it's not working and show in console this message
Uncaught SyntaxError: Unexpected token (
What can be a problem? This is my js-function code:
$('#calendar').fullCalendar(function() {
eventAfterRender: function(event, element) {
$(element).tooltip({
title: event.title,
container: "body"
});
}
});