Skip to content

Commit

Permalink
Fix order of actions on closeModalWithEvents (wire-elements#117)
Browse files Browse the repository at this point in the history
  • Loading branch information
Hansterdam authored Dec 28, 2021
1 parent d099f85 commit 62f04bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ModalComponent.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ public function closeModal(): void

public function closeModalWithEvents(array $events): void
{
$this->closeModal();
$this->emitModalEvents($events);
$this->closeModal();
}

public static function modalMaxWidth(): string
Expand Down

0 comments on commit 62f04bf

Please sign in to comment.