diff --git a/share/static/js/receive.js b/share/static/js/receive.js
index cbd60954..eac67412 100644
--- a/share/static/js/receive.js
+++ b/share/static/js/receive.js
@@ -4,6 +4,9 @@ $(function(){
$('#flashes').append($('
').addClass(category).text(message));
};
+ var scriptSrc = document.getElementById('receive-script').src;
+ var staticImgPath = scriptSrc.substr(0, scriptSrc.lastIndexOf( '/' )+1).replace('js', 'img');
+
// Intercept submitting the form
$('#send').submit(function(event){
event.preventDefault();
@@ -38,7 +41,7 @@ $(function(){
// and update the status
if(event.loaded == event.total) {
$('.cancel', ajax.$upload_div).remove();
- $('.upload-status', ajax.$upload_div).html('
Waiting for data to finish traversing Tor network ...');
+ $('.upload-status', ajax.$upload_div).html('
Waiting for data to finish traversing Tor network ...');
}
}, false);
diff --git a/share/templates/receive.html b/share/templates/receive.html
index 26d87ac1..b7e7f8e5 100644
--- a/share/templates/receive.html
+++ b/share/templates/receive.html
@@ -39,6 +39,6 @@
-
+