This commit is contained in:
Bobby Wibowo 2018-04-25 22:29:31 +07:00
parent ed7c53b869
commit 17f9848ca5
No known key found for this signature in database
GPG Key ID: 51C3A1E1E22D26CF
3 changed files with 4 additions and 3 deletions

View File

@ -23,5 +23,6 @@
"background_color": "#232629", "background_color": "#232629",
"display": "standalone", "display": "standalone",
"orientation": "any", "orientation": "any",
"lang": "en-US" "lang": "en-US",
"start_url": "/"
} }

View File

@ -194,7 +194,7 @@ panel.getUploads = (album, page, element) => {
div.className = 'image-container column is-narrow' div.className = 'image-container column is-narrow'
if (file.thumb !== undefined) { if (file.thumb !== undefined) {
div.innerHTML = `<a class="image" href="${file.file}" target="_blank" rel="noopener"><img alt="${file.thumb}" src="${file.thumb}"/></a>` div.innerHTML = `<a class="image" href="${file.file}" target="_blank" rel="noopener"><img alt="${file.name}" src="${file.thumb}"/></a>`
} else { } else {
div.innerHTML = `<a class="image" href="${file.file}" target="_blank" rel="noopener"><h1 class="title">${file.extname || 'N/A'}</h1></a>` div.innerHTML = `<a class="image" href="${file.file}" target="_blank" rel="noopener"><h1 class="title">${file.extname || 'N/A'}</h1></a>`
} }

View File

@ -10,7 +10,7 @@
This will be appended to all CSS and JS files, This will be appended to all CSS and JS files,
and should be changed on every updates to make sure clients load the very latest version of them. and should be changed on every updates to make sure clients load the very latest version of them.
#} #}
{% set v = "a2eSVpaWYa" %} {% set v = "fIs0W2GsiU" %}
{# {#
These will be the links in the homepage and the No-JS uploader. These will be the links in the homepage and the No-JS uploader.