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

fixes #1281

parent ef07ab20
No related branches found
No related tags found
No related merge requests found
...@@ -733,10 +733,10 @@ STUDIP.ready(function () { ...@@ -733,10 +733,10 @@ STUDIP.ready(function () {
use_session_date = false; use_session_date = false;
} }
} }
if (node.calendar == undefined) { if (this.calendar == undefined) {
if (jQuery(node).hasClass('semester-plan')) { if (jQuery(this).hasClass('semester-plan')) {
STUDIP.Fullcalendar.createSemesterCalendarFromNode( STUDIP.Fullcalendar.createSemesterCalendarFromNode(
node, this,
{ {
loading: function (isLoading) { loading: function (isLoading) {
if (!isLoading) { if (!isLoading) {
...@@ -773,7 +773,7 @@ STUDIP.ready(function () { ...@@ -773,7 +773,7 @@ STUDIP.ready(function () {
config.defaultDate = session_date_string; 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