web/donate: update sendCustom handler to use links

This commit is contained in:
dumbmoron 2024-09-09 13:00:06 +00:00
parent 3156831847
commit 6e523f300a
No known key found for this signature in database

View file

@ -65,8 +65,8 @@
return; return;
} }
const amount = Number(customInputValue) * 100; const amount = Math.floor(Number(customInputValue) * 100);
return donationMethods[processor](amount); return window.open(donationMethods[processor](amount), '_blank');
}; };
</script> </script>