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

[tor-commits] [tpo/master] Update to script in line



commit a989ff9529451bce20b1d047da67866d51232052
Author: hiro <hiro@xxxxxxxxxxxxxx>
Date:   Fri Apr 5 01:05:28 2019 +0200

    Update to script in line
---
 assets/static/js/download.js | 12 ------------
 templates/meta.html          |  1 +
 2 files changed, 1 insertion(+), 12 deletions(-)

diff --git a/assets/static/js/download.js b/assets/static/js/download.js
deleted file mode 100644
index 17a5d88..0000000
--- a/assets/static/js/download.js
+++ /dev/null
@@ -1,12 +0,0 @@
-$(".downloadLink").click(
-    function(e) {
-        e.preventDefault();
-
-        //open download link in new page
-        window.open( $(this).attr("href") );
-
-        //redirect current page to success page
-        window.location="{{ '/thank-you'|url(alt=this.alt) }}";
-        window.focus();
-    }
-);
diff --git a/templates/meta.html b/templates/meta.html
index ff32484..5de33ec 100644
--- a/templates/meta.html
+++ b/templates/meta.html
@@ -2,6 +2,7 @@
 <html xmlns="http://www.w3.org/1999/xhtml"; {% if bag('alternatives', this.alt, 'direction') == 'text-right' %}dir="rtl"{% endif %}>
 <meta charset="utf-8">
 <meta http-equiv="Content-Security-Policy" content="base-uri 'self'">
+
 <meta name="viewport" content="width=device-width, initial-scale=1">
 <meta name="description" content="{{ _('Defend yourself against tracking and surveillance. Circumvent censorship.') }}">
 <meta name="twitter:card" content="summary" />



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