aboutsummaryrefslogtreecommitdiff
path: root/public/js
diff options
context:
space:
mode:
authorOnestay <[email protected]>2017-04-23 15:36:26 +0200
committerOnestay <[email protected]>2017-04-23 15:36:26 +0200
commitf167bc52a056c634cc2edd70be21d298d7e76aab (patch)
treee7fe94bba439a6df73bdcc88817999dedc662fcf /public/js
parentchange let and const to var to support older browsers (diff)
downloadhost.fuwn.me-f167bc52a056c634cc2edd70be21d298d7e76aab.tar.xz
host.fuwn.me-f167bc52a056c634cc2edd70be21d298d7e76aab.zip
removed all trailing spaces (I think)
Diffstat (limited to 'public/js')
-rw-r--r--public/js/home.js3
1 files changed, 0 insertions, 3 deletions
diff --git a/public/js/home.js b/public/js/home.js
index 1b99e0d..a9ca41c 100644
--- a/public/js/home.js
+++ b/public/js/home.js
@@ -7,7 +7,6 @@ upload.maxFileSize;
upload.album;
upload.checkIfPublic = function(){
-
axios.get('/api/check')
.then(function (response) {
upload.isPrivate= response.data.private;
@@ -62,7 +61,6 @@ upload.verifyToken = function(token, reloadOnError){
}
upload.prepareUpload = function(){
-
// I think this fits best here because we need to check for a valid token before we can get the albums
if (upload.token) {
var select = document.querySelector('select');
@@ -109,7 +107,6 @@ upload.prepareUpload = function(){
}
upload.prepareDropzone = function(){
-
var previewNode = document.querySelector('#template');
previewNode.id = '';
var previewTemplate = previewNode.parentNode.innerHTML;