fix rounding issue with large integers

this bug was the bane of my existence
This commit is contained in:
Corban-Lee Jones 2024-10-03 00:36:31 +01:00
parent 183f888106
commit abbb4fbb62

View File

@ -244,7 +244,7 @@ function loadChannelOptions() {
data.forEach(item => {
$input.append($(
"<option>",
{text: `#${item.name}`, value: parseInt(item.id)}
{text: `#${item.name}`, value: BigInt(item.id)}
));
})