fix: header Forge — affiche Forge + titre/fichier, restaure ObsiGate a la fermeture
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user