[tor-commits] [webwml/staging] hide other ways to donate section by default

nima at torproject.org nima at torproject.org
Sat Dec 26 06:27:17 UTC 2015


commit 282dfb62b47644f35c4192f27a333f085ae8aa22
Author: MehrabKamrani <mk.zizou at gmail.com>
Date:   Fri Dec 25 23:05:45 2015 +0800

    hide other ways to donate section by default
---
 css/donate-style.css |    3 +++
 donate/en/donate.wml |    2 ++
 2 files changed, 5 insertions(+)

diff --git a/css/donate-style.css b/css/donate-style.css
index 8e1532f..8db9989 100644
--- a/css/donate-style.css
+++ b/css/donate-style.css
@@ -241,6 +241,9 @@ blockquote footer{
 	background-color: #47996A;
 	border-color: #47996A; 
 }
+#other-ways-section{
+	display: none;
+}
 #other-ways-section > .container-fluid{
 	padding: 0;
 }
diff --git a/donate/en/donate.wml b/donate/en/donate.wml
index 4781579..6a67061 100644
--- a/donate/en/donate.wml
+++ b/donate/en/donate.wml
@@ -373,11 +373,13 @@
 
     $("#link").on('click',function(event){
       event.preventDefault();
+      $("#other-ways-section").show();
       $('html, body').animate({
         scrollTop: $("#other-ways-section").offset().top
       }, 200);
     });
 
+
   });
 
 





More information about the tor-commits mailing list