From 17f9848ca587d14836d87d65c1276c436bd23869 Mon Sep 17 00:00:00 2001 From: Bobby Wibowo Date: Wed, 25 Apr 2018 22:29:31 +0700 Subject: [PATCH] Updates --- public/icons/manifest.json | 3 ++- public/js/dashboard.js | 2 +- views/_globals.njk | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/public/icons/manifest.json b/public/icons/manifest.json index 960ebf1..261b6a6 100644 --- a/public/icons/manifest.json +++ b/public/icons/manifest.json @@ -23,5 +23,6 @@ "background_color": "#232629", "display": "standalone", "orientation": "any", - "lang": "en-US" + "lang": "en-US", + "start_url": "/" } diff --git a/public/js/dashboard.js b/public/js/dashboard.js index 6df53f5..5684732 100644 --- a/public/js/dashboard.js +++ b/public/js/dashboard.js @@ -194,7 +194,7 @@ panel.getUploads = (album, page, element) => { div.className = 'image-container column is-narrow' if (file.thumb !== undefined) { - div.innerHTML = `${file.thumb}` + div.innerHTML = `${file.name}` } else { div.innerHTML = `

${file.extname || 'N/A'}

` } diff --git a/views/_globals.njk b/views/_globals.njk index d4efbe2..1840620 100644 --- a/views/_globals.njk +++ b/views/_globals.njk @@ -10,7 +10,7 @@ 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. #} -{% set v = "a2eSVpaWYa" %} +{% set v = "fIs0W2GsiU" %} {# These will be the links in the homepage and the No-JS uploader.