diff --git a/lib/public/scripts.js b/lib/public/scripts.js index c41f41e..a79a667 100644 --- a/lib/public/scripts.js +++ b/lib/public/scripts.js @@ -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) diff --git a/lib/views/index.ejs b/lib/views/index.ejs index 9302971..d01d416 100644 --- a/lib/views/index.ejs +++ b/lib/views/index.ejs @@ -63,7 +63,7 @@ Date - Title + Name