diff options
Diffstat (limited to 'static/js/pichat.js')
| -rw-r--r-- | static/js/pichat.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/static/js/pichat.js b/static/js/pichat.js index 97379ef..3954e20 100644 --- a/static/js/pichat.js +++ b/static/js/pichat.js @@ -632,7 +632,8 @@ function setupUpload(elementId, roomKey) { } }; var onComplete = function(file, response) { - r = $.trim(response); + var r = $.trim(response); + g = r; if (r.match(/FILE_TOO_BIG/)) { var maxSize = r.split(" ")[1] / 1024; alert("Sorry. Your file is just too fucking big. " |
