Skip to content

Commit

Permalink
[fix] filament-modal renamed to fi-modal in v3
Browse files Browse the repository at this point in the history
  • Loading branch information
mohamedsabil83 committed Sep 27, 2023
1 parent 7c4f90b commit 5261e3a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions resources/views/tiny-editor.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,12 +62,12 @@ class="relative z-0"
})
editor.on('OpenWindow', function(e) {
target = e.target.container.closest('.filament-modal')
target = e.target.container.closest('.fi-modal')
if (target) target.setAttribute('x-trap.noscroll', 'false')
})
editor.on('CloseWindow', function(e) {
target = e.target.container.closest('.filament-modal')
target = e.target.container.closest('.fi-modal')
if (target) target.setAttribute('x-trap.noscroll', 'isOpen')
})
Expand Down

0 comments on commit 5261e3a

Please sign in to comment.