[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [donate/master] Start off with 60 selected in the HTML
commit 5440324e259249a19fcf6f7e00ab57e8caa7868f
Author: Peter Haight <peterh@xxxxxxxxxxxxxxx>
Date: Fri Dec 21 15:55:37 2018 -0800
Start off with 60 selected in the HTML
This gets rid of a problem where the wrong perk pops out when you
unclick "No thank..." and also makes it so that you don't see the price
button switch while the page is loading.
Issue #37989
---
templates/h.twig | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/templates/h.twig b/templates/h.twig
index 3debe54b..8fdeb1a2 100644
--- a/templates/h.twig
+++ b/templates/h.twig
@@ -90,8 +90,8 @@
<div class="donate-buttons">
<a class="price-btn" data-price-in-cents="1000" href="#">$10</a>
<a class="price-btn" data-price-in-cents="2500" href="#">$25</a>
- <a class="price-btn promo" data-perk="stickers" data-price-in-cents="6000" href="#">$60</a>
- <a class="price-btn selected" data-perk="t-shirt" data-price-in-cents="12500" href="#">$125</a>
+ <a class="price-btn promo selected" data-perk="stickers" data-price-in-cents="6000" href="#">$60</a>
+ <a class="price-btn" data-perk="t-shirt" data-price-in-cents="12500" href="#">$125</a>
<a class="price-btn" data-perk="t-shirt-pack" data-price-in-cents="25000" href="#">$250</a>
<a class="price-btn" data-perk="t-shirt-pack" data-price-in-cents="50000" href="#">$500</a>
<div class="other-amount-field">
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits