chore: stray console.log in dashboard.js

This commit is contained in:
Bobby 2022-04-20 19:29:08 +07:00
parent e9e2d4993b
commit 43837cac20
No known key found for this signature in database
GPG Key ID: 941839794CBF5A09

View File

@ -1002,7 +1002,6 @@ page.displayPreview = id => {
}) })
} else { } else {
const match = file.file.match(/.*\/(.*)$/) const match = file.file.match(/.*\/(.*)$/)
console.log(file.file, match)
if (match || match[1]) { if (match || match[1]) {
div.querySelector('#swalOriginal').setAttribute('href', `v/${match[1]}`) div.querySelector('#swalOriginal').setAttribute('href', `v/${match[1]}`)
div.querySelector('#swalOriginal').setAttribute('target', '_blank') div.querySelector('#swalOriginal').setAttribute('target', '_blank')