aboutsummaryrefslogtreecommitdiffstats
path: root/library/fullcalendar/gcal.js
diff options
context:
space:
mode:
Diffstat (limited to 'library/fullcalendar/gcal.js')
-rw-r--r--library/fullcalendar/gcal.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/library/fullcalendar/gcal.js b/library/fullcalendar/gcal.js
index 98174ecb0..58b85c195 100644
--- a/library/fullcalendar/gcal.js
+++ b/library/fullcalendar/gcal.js
@@ -1,7 +1,7 @@
/*!
- * FullCalendar v2.6.1 Google Calendar Plugin
+ * FullCalendar v2.7.3 Google Calendar Plugin
* Docs & License: http://fullcalendar.io/
- * (c) 2015 Adam Shaw
+ * (c) 2016 Adam Shaw
*/
(function(factory) {
@@ -136,10 +136,10 @@ function transformOptions(sourceOptions, start, end, timezone, calendar) {
}
else if (data.items) {
$.each(data.items, function(i, entry) {
- var url = entry.htmlLink;
+ var url = entry.htmlLink || null;
// make the URLs for each event show times in the correct timezone
- if (timezoneArg) {
+ if (timezoneArg && url !== null) {
url = injectQsComponent(url, 'ctz=' + timezoneArg);
}