fix: disable closing custom model dialog by clicking backdrop (#1180)

This commit is contained in:
wangyanfu2 2026-03-06 18:41:22 +08:00 committed by GitHub
parent ca1e60168b
commit b42dbca407

View file

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