diff --git a/shared/scripts/lib/pages/donations/donations.html b/shared/scripts/lib/pages/donations/donations.html index 2c27a1a..0fa8b59 100755 --- a/shared/scripts/lib/pages/donations/donations.html +++ b/shared/scripts/lib/pages/donations/donations.html @@ -33,12 +33,14 @@
');
+
+ form.appendTo($el);
+}
diff --git a/shared/scripts/lib/utils/tipsy-txt-parser.js b/shared/scripts/lib/utils/tipsy-txt-parser.js
index e204061..c2a04c2 100755
--- a/shared/scripts/lib/utils/tipsy-txt-parser.js
+++ b/shared/scripts/lib/utils/tipsy-txt-parser.js
@@ -158,6 +158,10 @@ export function parseTxt() {
break;
case "dwolla":
newArray[0].dwolla = splitEntry[1];
+ break;
+ case "bitcoin":
+ newArray[0].bitcoin = splitEntry[1];
+ break;
}
}
@@ -195,6 +199,9 @@ export function parseTxt() {
if (paymentMethods[urlPref]) {
newArray[0].paypal = paymentMethods[urlPref].paypal;
}
+ if (paymentMethods[urlPref]) {
+ newArray[0].bitcoin = paymentMethods[urlPref].bitcoin;
+ }
if (info.author) {
newArray[0].name = info.author;
}