Skip to content

Commit 1987eee

Browse files
committed
Publish 2025-12-02
1 parent 9b26696 commit 1987eee

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed

elements/paddle.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,10 @@ export async function initPaddle(options) {
4242
};
4343

4444
if (options.plusButton) {
45-
// initClick(options.plusButton, 'pri_01je4ebmn474jsee5eh2gmfan9');
46-
initClick(options.plusButton, 'pri_01kb2xz6ag8gjgz8cc2kjzentm');
45+
initClick(options.plusButton, 'pri_01je4ebmn474jsee5eh2gmfan9');
4746
}
4847
if (options.feeButton) {
49-
// initClick(options.feeButton, 'pri_01jf039mt65me4f2exbgpg3p9m');
50-
initClick(options.feeButton, 'pri_01kb2rp90dtwcfdbj9b72zgtg3');
48+
initClick(options.feeButton, 'pri_01jf039mt65me4f2exbgpg3p9m');
5149
}
5250
if (options.corpButton) {
5351
initClick(options.corpButton, 'pri_01k0skrfeyprpcmxvfsp5vfnw5');

elements/pay-tiers.js

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -255,9 +255,9 @@ const htmlText = `
255255
<span class="currencies__currency-text js-currency-text">${DEFAULT_CURRENCY}</span>
256256
</div>
257257
<div class="tiers">
258-
<label class="tier" style="display: none;">
258+
<label class="tier">
259259
<div class="tier__top">
260-
<input type="radio" name="tier" value="${Tiers.REGULAR}">
260+
<input type="radio" name="tier" value="${Tiers.REGULAR}" checked>
261261
<span class="tier__desc" data-text="regular">Individual use</span>
262262
<span class="tier__connect"></span>
263263
<span class="tier__price js-price-regular">${DEFAULT_PRICE_REGULAR}</span>
@@ -267,9 +267,9 @@ const htmlText = `
267267
One-time payment
268268
</div>
269269
</label>
270-
<label class="tier">
270+
<label class="tier" style="display: none;">
271271
<div class="tier__top">
272-
<input type="radio" name="tier" value="${Tiers.DISCOUNT}" checked>
272+
<input type="radio" name="tier" value="${Tiers.DISCOUNT}">
273273
<span class="tier__desc" data-text="discount">Individual use</span>
274274
<span class="tier__connect"></span>
275275
<span class="tier__price js-price-regular tier__price--cross">${DEFAULT_PRICE_REGULAR}</span>
@@ -310,7 +310,7 @@ const htmlText = `
310310
<a class="button-link button-link--paddle js-link-paddle" href="#pay" data-s="d-side-paddle">
311311
<span class="button-link__text">
312312
<span data-text="pay">Pay</span>
313-
<span class="js-price-discount">${DEFAULT_PRICE_DISCOUNT}</span>
313+
<span class="js-price-regular">${DEFAULT_PRICE_REGULAR}</span>
314314
</span>
315315
</a>
316316
<a class="button-link button-link--paddle js-link-paddle-corp" href="#pay-corp" data-s="d-side-paddlecorp" style="display:none;">
@@ -943,6 +943,7 @@ darkreader-donate-mascot {
943943
944944
.discount-description {
945945
color: #63b79f;
946+
display: none;
946947
font-size: 0.875rem;
947948
font-weight: bold;
948949
text-align: center;

elements/plus-tiers.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -179,20 +179,20 @@ const htmlText = `
179179
<span class="button-link__text" data-text="more">More options</span>
180180
</a>
181181
-->
182-
<!--
183182
<a class="button-link button-link--paddle js-link-paddle" href="#pay" data-s="d-plus-paddle">
184183
<span class="button-link__text">
185184
<span data-text="pay">Pay</span>
186185
<span class="js-price-regular">${DEFAULT_PRICE_PLUS}</span>
187186
</span>
188187
</a>
189-
-->
188+
<!--
190189
<a class="button-link button-link--paddle js-link-paddle" href="#pay" data-s="d-plus-paddle">
191190
<span class="button-link__text">
192191
<span data-text="pay">Pay</span>
193192
<span class="js-price-discount">${DEFAULT_PRICE_DISCOUNT}</span>
194193
</span>
195194
</a>
195+
-->
196196
</div>
197197
<div class="payment-methods">
198198
<i class="payment-methods__paypal"></i>
@@ -571,6 +571,7 @@ const cssText = `
571571
572572
.discount-description {
573573
color: #63b79f;
574+
display: none;
574575
font-size: 0.875rem;
575576
font-weight: bold;
576577
}

0 commit comments

Comments
 (0)