1
0

auto-git:

[change] settings.html
This commit is contained in:
2025-05-24 20:47:36 +02:00
parent 9984e514e0
commit 27230085df

View File

@@ -119,12 +119,12 @@
// Threshold speichern (immer Wert aus Feld nehmen!)
let threshold = parseInt(thresholdInput.value, 10);
alert('OK gedrückt');
if (isNaN(threshold)) threshold = 10;
if (threshold < 1) threshold = 1;
if (threshold > 1000) threshold = 1000;
await window.settingsAPI.setIntelligentCommitThreshold(threshold);
alert('OK gedrückt');
// Dropdowns speichern
const commitSel = document.getElementById('commitModelSelect');
const readmeSel = document.getElementById('readmeModelSelect');