Merge pull request #145 from klarstrup/master
Add href attribute to Schedule -> All Days event link
This commit is contained in:
commit
e96dd27225
|
@ -247,6 +247,7 @@ function render_event_instance(event_instance) {
|
||||||
'background-color: ' + event_instance['bg-color'] +
|
'background-color: ' + event_instance['bg-color'] +
|
||||||
'; color: ' + event_instance['fg-color']);
|
'; color: ' + event_instance['fg-color']);
|
||||||
element.classList.add('event');
|
element.classList.add('event');
|
||||||
|
element.setAttribute('href', event_instance['url']);
|
||||||
element.dataset.eventInstanceId = event_instance['id'];
|
element.dataset.eventInstanceId = event_instance['id'];
|
||||||
|
|
||||||
time_element = document.createElement('small');
|
time_element = document.createElement('small');
|
||||||
|
|
Loading…
Reference in a new issue