mirror of
https://github.com/flarum/core.git
synced 2025-07-25 18:51:40 +02:00
Return on animateShow if already loaded
This commit is contained in:
@@ -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.$()
|
||||||
|
Reference in New Issue
Block a user