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. // So, we need to manually trigger the readyCallback.
if (this.$().hasClass('in')) { if (this.$().hasClass('in')) {
readyCallback(); readyCallback();
return;
} }
this.$() this.$()