[tor-commits] [tpo/staging] Fix thank you link in javascript

hiro at torproject.org hiro at torproject.org
Mon Feb 11 13:36:00 UTC 2019


commit 18258eccf7a0f84429baa9210c33947a29f7e9a1
Author: hiro <hiro at torproject.org>
Date:   Mon Feb 11 14:35:55 2019 +0100

    Fix thank you link in javascript
---
 templates/script-download.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/templates/script-download.html b/templates/script-download.html
index 1c1828f..51fcc08 100644
--- a/templates/script-download.html
+++ b/templates/script-download.html
@@ -7,7 +7,7 @@ $(".downloadLink").click(
         window.open( $(this).attr("href") );
 
         //redirect current page to success page
-        window.location="/thank-you";
+        window.location="{{ '/thank-you'|url }}";
         window.focus();
     }
 );



More information about the tor-commits mailing list