[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



commit 18258eccf7a0f84429baa9210c33947a29f7e9a1
Author: hiro <hiro@xxxxxxxxxxxxxx>
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();
     }
 );

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits