fix: disable closing custom model dialog by clicking backdrop

This commit is contained in:
wangyanfu2 2026-03-06 14:45:26 +08:00
parent 46201fb679
commit 3cf5a3ad97

View file

@ -1392,9 +1392,7 @@ function saveModelFromModal() {
saveConfig().then(renderModels);
}
document.getElementById('modelModal').addEventListener('click', function(e) {
if (e.target === this) closeModelModal();
});
// ── Channel Forms ───────────────────────────────────
function renderChannelForm(chKey) {