Commit a79085f2 authored by Jan Köster's avatar Jan Köster
Browse files

test

parent ea58f2b8
Loading
Loading
Loading
Loading
+0 −2
Changes for editor/html/js/editor.js: 0 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -1210,9 +1210,7 @@

    function bindAiDialog() {
        // Close & Clear — register FIRST so they always work
        console.log('bindAiDialog: registering btn-ai-close', document.getElementById('btn-ai-close'));
        document.getElementById('btn-ai-close').addEventListener('click', function() {
            console.log('btn-ai-close clicked');
            document.getElementById('ai-dialog').close();
            try { localStorage.setItem('ai-dialog-open', '0'); } catch(e) {}
        });