aboutsummaryrefslogtreecommitdiff
path: root/public
diff options
context:
space:
mode:
authorNadya <[email protected]>2018-05-12 19:25:19 -0700
committerGitHub <[email protected]>2018-05-12 19:25:19 -0700
commitba6b3764dcb8d81f66262283bd25327c73045612 (patch)
tree0454426decb665eca3402e7043901dc6c972eac9 /public
parentMerge pull request #2 from NadyaNayme/Album-Delete-Styles (diff)
downloadhost.fuwn.me-ba6b3764dcb8d81f66262283bd25327c73045612.tar.xz
host.fuwn.me-ba6b3764dcb8d81f66262283bd25327c73045612.zip
Fix typo
Diffstat (limited to 'public')
-rw-r--r--public/js/dashboard.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/public/js/dashboard.js b/public/js/dashboard.js
index e6c3188..8afc89d 100644
--- a/public/js/dashboard.js
+++ b/public/js/dashboard.js
@@ -142,7 +142,7 @@ panel.getUploads = function(album = undefined, page = undefined){
var div = document.createElement('div');
div.className = "column is-2";
if(item.thumb !== undefined)
- div.innerHTML = `<a href="${item.file}" target="_blank"><img src="${item.thumb}"/></a> <a class="button is-small is-danger is-outlined" title="Delete album" onclick="panel.deleteFile(${item.id})"><span class="icon is-small"><i class="fa fa-trash-o"></i></span></a>`;
+ div.innerHTML = `<a href="${item.file}" target="_blank"><img src="${item.thumb}"/></a><a class="button is-small is-danger is-outlined" title="Delete file" onclick="panel.deleteFile(${item.id})"><span class="icon is-small"><i class="fa fa-trash-o"></i></span></a>`;
else
div.innerHTML = `<a href="${item.file}" target="_blank"><h1 class="title">.${item.file.split('.').pop()}</h1></a>`;
table.appendChild(div);