use event name to re-download iCal file instead of action button
This commit is contained in:
parent
ca14709309
commit
98ad2cf25e
|
@ -134,12 +134,12 @@
|
|||
new Date(startTime).toLocaleString() :
|
||||
'N/A\xa0\xa0\xa0\xa0\xa0'
|
||||
|
||||
const titleCol = document.createElement('td')
|
||||
titleCol.innerText = title
|
||||
|
||||
const downloadEl = document.createElement('a')
|
||||
downloadEl.setAttribute('href', link)
|
||||
downloadEl.innerText = '⬇︎'
|
||||
downloadEl.innerText = title
|
||||
|
||||
const titleCol = document.createElement('td')
|
||||
titleCol.appendChild(downloadEl)
|
||||
|
||||
const deleteEl = document.createElement('a')
|
||||
deleteEl.setAttribute('href', 'javascript:void(0)')
|
||||
|
@ -152,7 +152,6 @@
|
|||
|
||||
const actionCol = document.createElement('td')
|
||||
actionCol.classList.add('actions')
|
||||
actionCol.appendChild(downloadEl)
|
||||
actionCol.appendChild(deleteEl)
|
||||
|
||||
newRow.appendChild(startTimeCol)
|
||||
|
|
|
@ -63,7 +63,7 @@
|
|||
<thead>
|
||||
<tr>
|
||||
<td>Date</td>
|
||||
<td>Title</td>
|
||||
<td>Name</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</thead>
|
||||
|
|
Loading…
Reference in New Issue