Skip to content
Snippets Groups Projects
Commit 421f51e1 authored by Jan-Hendrik Willms's avatar Jan-Hendrik Willms
Browse files

fixes #1281

parent 28b3e876
No related branches found
No related tags found
No related merge requests found
......@@ -733,10 +733,10 @@ STUDIP.ready(function () {
use_session_date = false;
}
}
if (node.calendar == undefined) {
if (jQuery(node).hasClass('semester-plan')) {
if (this.calendar == undefined) {
if (jQuery(this).hasClass('semester-plan')) {
STUDIP.Fullcalendar.createSemesterCalendarFromNode(
node,
this,
{
loading: function (isLoading) {
if (!isLoading) {
......@@ -773,7 +773,7 @@ STUDIP.ready(function () {
config.defaultDate = session_date_string;
}
}
STUDIP.Fullcalendar.createFromNode(node, config);
STUDIP.Fullcalendar.createFromNode(this, config);
}
}
});
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment