Link to respective page on Calendar Event Click (#784)

* Link to Page on calendar event click

* Undo my Prettier Changes.. Oops
This commit is contained in:
Zack Arnett
2020-04-22 12:03:05 -04:00
committed by GitHub
parent fbb8999513
commit 29b4672346
3 changed files with 18 additions and 6 deletions

View File

@@ -16,7 +16,10 @@ var calendar = $("#calendar").fullCalendar({
"firstDay": firstDay,
"eventLimit": false,
"height": "auto",
"eventSources": fullcalendarEventSources
"eventSources": fullcalendarEventSources,
eventClick: function(info) {
location.href = info.link;
}
});
$("#ical-button").on("click", function(e)