1
0

Remove threshold live save functionality in settings.html

This commit is contained in:
2025-05-24 20:52:37 +02:00
parent dc0cda88f3
commit 2347d477ae

View File

@@ -100,17 +100,6 @@
await window.settingsAPI.setSkyMode(cbSky.checked);
});
// Threshold live speichern + clamp
/*
thresholdInput.addEventListener('blur', async () => {
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;
thresholdInput.value = v;
await window.settingsAPI.setIntelligentCommitThreshold(v);
});
*/
// OK: alles final speichern
ok.addEventListener('click', async () => {