aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPitu <[email protected]>2017-01-21 16:22:34 -0300
committerPitu <[email protected]>2017-01-21 16:22:34 -0300
commite9b3ecbd05a2d09f5fac409015d4602764b92722 (patch)
treea15b9419e9e17a78d659f71f12eecd20c7e0400f
parentReuploaded header image for the 3rd time (diff)
downloadhost.fuwn.me-e9b3ecbd05a2d09f5fac409015d4602764b92722.tar.xz
host.fuwn.me-e9b3ecbd05a2d09f5fac409015d4602764b92722.zip
Fixed public upload. Whoopsies
-rw-r--r--public/js/upload.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/public/js/upload.js b/public/js/upload.js
index 35208f3..d496e0f 100644
--- a/public/js/upload.js
+++ b/public/js/upload.js
@@ -8,7 +8,7 @@ upload.checkIfPublic = function(){
axios.get('/api/check')
.then(function (response) {
- upload.isPublic = response.data.private;
+ upload.isPrivate= response.data.private;
upload.maxFileSize = response.data.maxFileSize;
upload.preparePage();
})