Fixes #15
This commit is contained in:
@@ -267,7 +267,7 @@ function appendFile(name, hash, size, data) {
|
|||||||
const link = document.createElement('a')
|
const link = document.createElement('a')
|
||||||
link.setAttribute('href', url)
|
link.setAttribute('href', url)
|
||||||
link.setAttribute('download', name)
|
link.setAttribute('download', name)
|
||||||
link.innerHTML = '<img width=20 class="table-action" src="dashboard/images/download.svg" alt="Download" />'
|
link.innerHTML = '<img width=20 class="table-action" src="assets/dashboard/images/download.svg" alt="Download" />'
|
||||||
downloadCell.appendChild(link)
|
downloadCell.appendChild(link)
|
||||||
|
|
||||||
row.appendChild(nameCell)
|
row.appendChild(nameCell)
|
||||||
|
|||||||
@@ -269,7 +269,7 @@ function appendFile(name, hash, size, data) {
|
|||||||
const link = document.createElement('a')
|
const link = document.createElement('a')
|
||||||
link.setAttribute('href', url)
|
link.setAttribute('href', url)
|
||||||
link.setAttribute('download', name)
|
link.setAttribute('download', name)
|
||||||
link.innerHTML = '<img width=20 class="table-action" src="dashboard/images/download.svg" alt="Download" />'
|
link.innerHTML = '<img width=20 class="table-action" src="assets/dashboard/images/download.svg" alt="Download" />'
|
||||||
downloadCell.appendChild(link)
|
downloadCell.appendChild(link)
|
||||||
|
|
||||||
row.appendChild(nameCell)
|
row.appendChild(nameCell)
|
||||||
|
|||||||
Reference in New Issue
Block a user