1
0
mirror of https://github.com/flarum/core.git synced 2025-08-05 16:07:34 +02:00

common: update micromodal

This commit is contained in:
David Sevilla Martin
2020-03-28 11:58:15 -04:00
parent 99b5b5ff00
commit 458045ad33
2 changed files with 2 additions and 1 deletions

View File

@@ -59,6 +59,7 @@ export default class ModalManager extends Component {
MicroModal.show('Modal', {
awaitCloseAnimation: true,
awaitOpenAnimation: true,
disableFocus: true,
onShow: () => $('body').addClass('modal-open'),
onClose: () => {
$('body').removeClass('modal-open');