diff options
Diffstat (limited to 'share/static/js/receive.js')
-rw-r--r-- | share/static/js/receive.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/share/static/js/receive.js b/share/static/js/receive.js index 02c37b3f..c29c726c 100644 --- a/share/static/js/receive.js +++ b/share/static/js/receive.js @@ -121,7 +121,7 @@ $(function(){ $('#uploads').append($upload_div); // Send the request - ajax.open('POST', window.location.pathname + '/upload-ajax', true); + ajax.open('POST', window.location.pathname.replace(/\/$/, '') + '/upload-ajax', true); ajax.send(formData); }); }); |