summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--jquery.weekcalendar.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/jquery.weekcalendar.js b/jquery.weekcalendar.js
index 72a516c..96c7722 100644
--- a/jquery.weekcalendar.js
+++ b/jquery.weekcalendar.js
@@ -1227,6 +1227,7 @@
}
this._clearCalendar();
+
if ($.isArray(data)) {
eventsToRender = self._cleanEvents(data);
} else if (data.events) {