mirror of
https://github.com/flarum/framework.git
synced 2025-02-01 03:45:16 +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.
|
// So, we need to manually trigger the readyCallback.
|
||||||
if (this.$().hasClass('in')) {
|
if (this.$().hasClass('in')) {
|
||||||
readyCallback();
|
readyCallback();
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
this.$()
|
this.$()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user