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
1 changed files with 1 additions and 0 deletions

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');