]> jfr.im git - uguu.git/blobdiff - static/js/app.js
durr
[uguu.git] / static / js / app.js
index 0e843e2c53ee27e155bfa127a2214b15e046dd55..d70808b370d2991355393ac6efe2c9688381f3cf 100644 (file)
@@ -130,6 +130,9 @@ document.addEventListener('DOMContentLoaded', function() {
     } else if (respStatus === 413) {
       link.textContent = 'File too big!';
       url.appendChild(link);
+    } else if (respStatus === 415) {
+      link.textContent = 'File not allowed lol!';
+      url.appendChild(link);
     } else {
       link.textContent = 'Filetype not allowed or server error!';
       url.appendChild(link);