Merge pull request #145 from klarstrup/master

Add href attribute to Schedule -> All Days event link
This commit is contained in:
Stephan Telling 2017-08-10 13:20:51 +02:00 committed by GitHub
commit e96dd27225

View file

@ -247,6 +247,7 @@ function render_event_instance(event_instance) {
'background-color: ' + event_instance['bg-color'] +
'; color: ' + event_instance['fg-color']);
element.classList.add('event');
element.setAttribute('href', event_instance['url']);
element.dataset.eventInstanceId = event_instance['id'];
time_element = document.createElement('small');