Add href attribute to event link
This commit is contained in:
parent
c5d7caf3fc
commit
5ff0289d6f
|
@ -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