diff --git a/settings.html b/settings.html index 8b77fd1..de5d758 100644 --- a/settings.html +++ b/settings.html @@ -102,7 +102,7 @@ // Threshold live speichern + clamp thresholdInput.addEventListener('blur', async () => { - let v = parseInt(thresholdInput.value, 100); + let v = parseInt(thresholdInput.value, 10); if (isNaN(v)) v = initialThreshold; // wenn komplett leer gelassen if (v < 1) v = 1; if (v > 1000) v = 1000;