mirror of
https://github.com/imputnet/cobalt.git
synced 2024-12-29 11:06:10 +00:00
web/donate: update sendCustom handler to use links
This commit is contained in:
parent
3156831847
commit
6e523f300a
|
@ -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>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue