IS LITERALLY CRYING

I broke the delete button apparently.
This commit is contained in:
Bobby Wibowo 2018-03-29 03:32:47 +07:00
parent 76076ac5c2
commit d2086ce4ba
No known key found for this signature in database
GPG Key ID: 51C3A1E1E22D26CF
2 changed files with 3 additions and 3 deletions

View File

@ -17,7 +17,7 @@
<script type="text/javascript" src="libs/sweetalert/sweetalert.min.js?v=8FbubjpYRC"></script>
<script type="text/javascript" src="libs/axios/axios.min.js?v=8FbubjpYRC"></script>
<script type="text/javascript" src="libs/clipboard.js/clipboard.min.js?v=8FbubjpYRC"></script>
<script type="text/javascript" src="js/dashboard.js?v=8FbubjpYRC"></script>
<script type="text/javascript" src="js/dashboard.js?v=BN63JuN6My"></script>
<!-- Open Graph tags -->
<meta property="og:type" content="website" />

View File

@ -225,7 +225,7 @@ panel.getUploads = (album, page, element) => {
tr.innerHTML = `
<tr>
<th><a href="${item.file}" target="_blank" onclick="event.stopPropagation()">${item.file}</a></th>
<th><a href="${item.file}" target="_blank">${item.file}</a></th>
<th>${displayAlbumOrUser}</th>
<td>${item.size}</td>
<td>${item.date}</td>
@ -235,7 +235,7 @@ panel.getUploads = (album, page, element) => {
<i class="icon-attach"></i>
</span>
</a>
<a class="button is-small is-danger is-outlined" title="Delete album" panel.deleteFile(${item.id}, ${album}, ${page})">
<a class="button is-small is-danger is-outlined" title="Delete album" onclick="panel.deleteFile(${item.id}, ${album}, ${page})">
<span class="icon is-small">
<i class="icon-trash-1"></i>
</span>