mirror of
https://github.com/imputnet/cobalt.git
synced 2024-12-28 10:36:08 +00:00
web/donate: update sendCustom handler to use links
This commit is contained in:
parent
3156831847
commit
6e523f300a
|
@ -65,8 +65,8 @@
|
|||
return;
|
||||
}
|
||||
|
||||
const amount = Number(customInputValue) * 100;
|
||||
return donationMethods[processor](amount);
|
||||
const amount = Math.floor(Number(customInputValue) * 100);
|
||||
return window.open(donationMethods[processor](amount), '_blank');
|
||||
};
|
||||
</script>
|
||||
|
||||
|
|
Loading…
Reference in a new issue