summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEliot Whalan <ewhal@pantsu.cat>2016-06-16 22:43:46 +0200
committerGitHub <noreply@github.com>2016-06-16 22:43:46 +0200
commitd68567e2e94e3b03e250f81aaa0eb6c1b2b49534 (patch)
treed1c2fa19d86ff8d778211e36dce1bf48c1ac192f
parentca328e16d887a4615608e981a889a20692bf13e5 (diff)
parent80f07e0c43884265d082afe12d1a58ad880e2c32 (diff)
Merge pull request #1 from lesderid/patch-3
Fix error response description
-rw-r--r--js/app.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/app.js b/js/app.js
index ed2861d..054644b 100644
--- a/js/app.js
+++ b/js/app.js
@@ -60,7 +60,7 @@ document.addEventListener('DOMContentLoaded', function() {
link.href = response.files[0].url;
url.appendChild(link);
} else {
- bar.innerHTML = 'Error: ' + response.reason;
+ bar.innerHTML = 'Error: ' + response.description;
}
} else if (respStatus === 413) {
link.textContent = 'File Too big!';