From 5db20f4d32c2218f5a4ed08b8d07119e5d1b699c Mon Sep 17 00:00:00 2001 From: Lars Gebhardt-Kusche Date: Tue, 10 Feb 2026 00:48:50 +0100 Subject: [PATCH] spinner --- config/current.ver | 2 +- public/assets/js/ui-editor.js | 11 ++++++++--- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/config/current.ver b/config/current.ver index da5c718..108609c 100755 --- a/config/current.ver +++ b/config/current.ver @@ -1 +1 @@ -1.2.91 \ No newline at end of file +1.2.92 \ No newline at end of file diff --git a/public/assets/js/ui-editor.js b/public/assets/js/ui-editor.js index 9a9f0cd..cdf851b 100755 --- a/public/assets/js/ui-editor.js +++ b/public/assets/js/ui-editor.js @@ -847,11 +847,17 @@ export function initEditor() {                 `; -    const host = dlg?.querySelector('.h-full, .flex, .flex-col') || dlg; +    const host = dlg || document.body; +    host.style.position = host.style.position || 'relative';     (host || document.body).appendChild(veilEl);     return veilEl;   } -  function showVeil(){ ensureVeil().style.display = 'flex'; } +  function showVeil(){ +    const el = ensureVeil(); +    el.style.position = 'fixed'; +    el.style.inset = '0'; +    el.style.display = 'flex'; +  }   function hideVeil(){ if (veilEl) veilEl.style.display = 'none'; } async function buildRefLibForContext() { @@ -924,7 +930,6 @@ export function initEditor() {     }     try { hideReadyBadge(doc); } catch {} -    if (token === reqToken) hideVeil();   }   // ---------- Öffnen ----------