1
0

Remove unused close button and alert in settings.html

This commit is contained in:
2025-05-25 01:38:55 +02:00
parent b47728d601
commit d8f0be6268

View File

@@ -153,7 +153,6 @@
const thresholdInput = document.getElementById('intelligentCommitThresholdInput');
const ok = document.getElementById('okBtn');
const cancel = document.getElementById('cancelBtn');
const close = document.getElementById('closeBtn');
const cbAutostart = document.getElementById('autostart');
const cbCloseToTray= document.getElementById('closeToTray');
@@ -209,8 +208,6 @@
window.settingsAPI.close();
};
cancel.addEventListener('click', rollback);
alert("bin da");
close.addEventListener('click', rollback);
const container = document.getElementById('ollama-model-selectors');