Fix isInRange for strings

This commit is contained in:
Wolfgang 2024-05-26 17:08:14 +02:00
parent 762d5a5114
commit 962051be59

View file

@ -117,7 +117,7 @@ div>label {
}
function isInRange(number, min, max) {
return number >= min && number <= max;
return Number(number) >= Number(min) && Number(number) <= Number(max);
}
function add_power(ext, row) {