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

This commit is contained in:
wangyanfu2 authored and GitHub committed 2026-03-06 11:41:22 +01:00
1 parent b716b8a053
commit ac37d6b626
1 file changed
+1 -3
+1 -3
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) {