mirror of
https://github.com/flarum/framework.git
synced 2025-02-18 20:42:44 +08:00
Return on animateShow if already loaded
This commit is contained in:
parent
4c3f36a53b
commit
e798cb104b
|
@ -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