[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [donate/master] Turned off the campaign total fetching
commit 75f6ca21b2bd7971a62eb1808efd86cea626edd7
Author: peterh <peterh@xxxxxxxxxxxxxxx>
Date: Mon Feb 18 11:10:29 2019 -0800
Turned off the campaign total fetching
Someone at Tor complained that if you leave the window open for a long
time it uses a bunch of memory
(https://trac.torproject.org/projects/tor/ticket/29479).
Also we don't need this while the campaign is off.
---
src/js/payment_controller.js | 1 -
1 file changed, 1 deletion(-)
diff --git a/src/js/payment_controller.js b/src/js/payment_controller.js
index 0351ad70..2353a0a7 100644
--- a/src/js/payment_controller.js
+++ b/src/js/payment_controller.js
@@ -146,7 +146,6 @@ function PaymentController(paypalMerchantId, environmentName, stripePublishableK
}
PaymentController.prototype.init = function() {
- this.setupCampaignTotals();
this.setInitialPromoAdjustments();
this.setPriceSet();
this.setRecurring();
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits