mirror of
https://github.com/wukko/cobalt.git
synced 2025-01-23 19:26:26 +01:00
web/donate: update sendCustom handler to use links
This commit is contained in:
parent
3156831847
commit
6e523f300a
1 changed files with 2 additions and 2 deletions
|
@ -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