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 b716b8a053
commit ac37d6b626
+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) {