fix: header Forge — affiche Forge + titre/fichier, restaure ObsiGate a la fermeture
CI / lint (push) Failing after 10s
CI / test (push) Has been skipped
CI / build (push) Has been skipped
CI / e2e (push) Has been skipped
CI / security (push) Failing after -7s

This commit is contained in:
2026-06-16 10:13:19 -04:00
parent 5fc110a1b2
commit 36c1546098
3 changed files with 13 additions and 0 deletions
+3
View File
@@ -471,6 +471,9 @@ function closeEditor() {
const path = state.editorPath;
const modal = document.getElementById("editor-modal");
modal.classList.remove("active");
// Restore brand text
var brand = modal.querySelector('.editor-brand');
if (brand) brand.textContent = 'ObsiGate';
if (state.editorView) {
state.editorView.destroy();
state.editorView = null;