diff options
Diffstat (limited to 'views/default')
-rw-r--r-- | views/default/event_calendar/full_calendar_view.php | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/views/default/event_calendar/full_calendar_view.php b/views/default/event_calendar/full_calendar_view.php index 3e0c583ce..7a40c6da9 100644 --- a/views/default/event_calendar/full_calendar_view.php +++ b/views/default/event_calendar/full_calendar_view.php @@ -14,8 +14,11 @@ handleEventClick = function(event) { if (event.is_event_poll) { window.location.href = event.url; } else { - //window.location.href = event.url; - $.fancybox({'href':event.url}); + if ($.fancybox) { + $.fancybox({'href': event.url}); + } else if ($.colorbox) { + $.colorbox({'href': event.url}); + } } return false; } |