1
0
mirror of https://github.com/flarum/core.git synced 2025-05-20 14:24:21 +02:00

Return on animateShow if already loaded

This commit is contained in:
Alexander Skvortsov 2020-09-25 16:37:32 -04:00
parent 1ac09dbc4d
commit a2263b8538

View File

@ -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.$()