1
0

auto-git:

[change] settings.html
This commit is contained in:
2025-05-24 20:40:55 +02:00
parent d5bdffda70
commit bb8648f1c4

View File

@@ -101,6 +101,7 @@
}); });
// Threshold live speichern + clamp // Threshold live speichern + clamp
/*
thresholdInput.addEventListener('blur', async () => { thresholdInput.addEventListener('blur', async () => {
let v = parseInt(thresholdInput.value, 10); let v = parseInt(thresholdInput.value, 10);
if (isNaN(v)) v = initialThreshold; // wenn komplett leer gelassen if (isNaN(v)) v = initialThreshold; // wenn komplett leer gelassen
@@ -109,7 +110,8 @@
thresholdInput.value = v; thresholdInput.value = v;
await window.settingsAPI.setIntelligentCommitThreshold(v); await window.settingsAPI.setIntelligentCommitThreshold(v);
}); });
*/
// OK: alles final speichern // OK: alles final speichern
ok.addEventListener('click', async () => { ok.addEventListener('click', async () => {
await window.settingsAPI.setSkipPrompt(cbSkip.checked); await window.settingsAPI.setSkipPrompt(cbSkip.checked);