diff options
author | Mario Vavti <mario@mariovavti.com> | 2016-06-16 11:22:08 +0200 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2016-06-16 11:22:08 +0200 |
commit | 951bf5ec2e4ca73e3c517b5d83ee8b5508b9972a (patch) | |
tree | 16600860ba044d265f362fee1004d57eae86b9e8 /library/fullcalendar/gcal.js | |
parent | d457f11717da40f44d98eeba5b88e6f1e5636247 (diff) | |
download | volse-hubzilla-951bf5ec2e4ca73e3c517b5d83ee8b5508b9972a.tar.gz volse-hubzilla-951bf5ec2e4ca73e3c517b5d83ee8b5508b9972a.tar.bz2 volse-hubzilla-951bf5ec2e4ca73e3c517b5d83ee8b5508b9972a.zip |
update 3rd party lib fullcalendar to version 2.7.3
Diffstat (limited to 'library/fullcalendar/gcal.js')
-rw-r--r-- | library/fullcalendar/gcal.js | 8 |
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); } |