auto-git:
[change] settings.html
This commit is contained in:
@@ -119,12 +119,12 @@
|
|||||||
|
|
||||||
// Threshold speichern (immer Wert aus Feld nehmen!)
|
// Threshold speichern (immer Wert aus Feld nehmen!)
|
||||||
let threshold = parseInt(thresholdInput.value, 10);
|
let threshold = parseInt(thresholdInput.value, 10);
|
||||||
|
alert('OK gedrückt');
|
||||||
if (isNaN(threshold)) threshold = 10;
|
if (isNaN(threshold)) threshold = 10;
|
||||||
if (threshold < 1) threshold = 1;
|
if (threshold < 1) threshold = 1;
|
||||||
if (threshold > 1000) threshold = 1000;
|
if (threshold > 1000) threshold = 1000;
|
||||||
await window.settingsAPI.setIntelligentCommitThreshold(threshold);
|
await window.settingsAPI.setIntelligentCommitThreshold(threshold);
|
||||||
|
|
||||||
alert('OK gedrückt');
|
|
||||||
// Dropdowns speichern
|
// Dropdowns speichern
|
||||||
const commitSel = document.getElementById('commitModelSelect');
|
const commitSel = document.getElementById('commitModelSelect');
|
||||||
const readmeSel = document.getElementById('readmeModelSelect');
|
const readmeSel = document.getElementById('readmeModelSelect');
|
||||||
|
|||||||
Reference in New Issue
Block a user