mirror of
https://github.com/flarum/framework.git
synced 2024-11-25 09:41:49 +08:00
common: update micromodal
This commit is contained in:
parent
99b5b5ff00
commit
458045ad33
|
@ -11,7 +11,7 @@
|
|||
"jump.js": "^1.0.2",
|
||||
"lodash": "^4.17.15",
|
||||
"m.attrs.bidi": "github:tobscure/m.attrs.bidi",
|
||||
"micromodal": "^0.4.2",
|
||||
"micromodal": "^0.4.6",
|
||||
"mithril": "^2.0.4",
|
||||
"mousetrap": "^1.6.5",
|
||||
"punycode": "^2.1.1",
|
||||
|
|
|
@ -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');
|
||||
|
|
Loading…
Reference in New Issue
Block a user