Skip to content

Commit

Permalink
Fix issue caused by saving content before closing open snippet inspec…
Browse files Browse the repository at this point in the history
…tors
  • Loading branch information
LukeTowers committed Jan 4, 2025
1 parent 332b0e4 commit 4310f55
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions assets/js/pages-snippets.js
Original file line number Diff line number Diff line change
Expand Up @@ -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...',
Expand Down

0 comments on commit 4310f55

Please sign in to comment.