mirror of
https://git.srhtnin.garden/sarah/srhtnin.github.io.git
synced 2026-10-14 18:58:11 +02:00
Fixed quickbuy to be 10. No hotfix!
This commit is contained in:
1 parent
40b29cc699
commit
3827c6cfa9
2 files changed
+7
-7
No files matched your search
+1
-1
@@ -185,7 +185,7 @@ $PageSection = "Garden";
|
|||||||
</button>
|
</button>
|
||||||
|
|
||||||
<button
|
<button
|
||||||
id="QuickBuyTwoButton"
|
id="QuickBuyTenButton"
|
||||||
class="QuickBuyAmountButton"
|
class="QuickBuyAmountButton"
|
||||||
type="button"
|
type="button"
|
||||||
>
|
>
|
||||||
|
|||||||
@@ -448,8 +448,8 @@ function BindQuickBuyControls() {
|
|||||||
"One"
|
"One"
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
"QuickBuyTwoButton",
|
"QuickBuyTenButton",
|
||||||
"Two"
|
"Ten"
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
"QuickBuyGardenButton",
|
"QuickBuyGardenButton",
|
||||||
@@ -483,7 +483,7 @@ function BindQuickBuyControls() {
|
|||||||
function GetQuickBuyAmount() {
|
function GetQuickBuyAmount() {
|
||||||
if (
|
if (
|
||||||
QuickBuyAmountMode ===
|
QuickBuyAmountMode ===
|
||||||
"Two"
|
"Ten"
|
||||||
) {
|
) {
|
||||||
return 10;
|
return 10;
|
||||||
}
|
}
|
||||||
@@ -522,9 +522,9 @@ function RenderQuickBuy() {
|
|||||||
"QuickBuyOneButton"
|
"QuickBuyOneButton"
|
||||||
);
|
);
|
||||||
|
|
||||||
const TwoButton =
|
const TenButton =
|
||||||
document.getElementById(
|
document.getElementById(
|
||||||
"QuickBuyTwoButton"
|
"QuickBuyTenButton"
|
||||||
);
|
);
|
||||||
|
|
||||||
const GardenButton =
|
const GardenButton =
|
||||||
@@ -535,7 +535,7 @@ function RenderQuickBuy() {
|
|||||||
|
|
||||||
const AmountButtons = [
|
const AmountButtons = [
|
||||||
[OneButton, "One", 1],
|
[OneButton, "One", 1],
|
||||||
[TwoButton, "Two", 2],
|
[TenButton, "Ten", 10],
|
||||||
[
|
[
|
||||||
GardenButton,
|
GardenButton,
|
||||||
"Garden",
|
"Garden",
|
||||||
|
|||||||
Reference in new issue
Block a user