mirror of
https://github.com/flarum/framework.git
synced 2025-02-01 01:03:00 +08:00
Return on animateShow if already loaded
This commit is contained in:
parent
1ac09dbc4d
commit
a2263b8538
|
@ -40,6 +40,7 @@ export default class ModalManager extends Component {
|
|||
// So, we need to manually trigger the readyCallback.
|
||||
if (this.$().hasClass('in')) {
|
||||
readyCallback();
|
||||
return;
|
||||
}
|
||||
|
||||
this.$()
|
||||
|
|
Loading…
Reference in New Issue
Block a user