From 4310f550defa1a973869b1ea675043d837bceadb Mon Sep 17 00:00:00 2001 From: Luke Towers Date: Fri, 3 Jan 2025 23:42:50 -0600 Subject: [PATCH] Fix issue caused by saving content before closing open snippet inspectors --- assets/js/pages-snippets.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/assets/js/pages-snippets.js b/assets/js/pages-snippets.js index d4239cf..bce7be1 100644 --- a/assets/js/pages-snippets.js +++ b/assets/js/pages-snippets.js @@ -142,6 +142,8 @@ $snippet .addClass('loading') .addClass('fr-draggable') + .removeClass('inspector-open') // Required if user saved content with inspector open + .removeClass('popover-highlight') // Required if user saved content with inspector open .attr({ 'data-inspector-css-class': 'hero', 'data-name': 'Loading...',