Skip to content

Commit

Permalink
called onSettleCallback on outerHTML swap method for x-wire
Browse files Browse the repository at this point in the history
  • Loading branch information
james0r committed Aug 17, 2023
1 parent 08224f4 commit aa32679
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/alpine/plugins/wire/swap.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ export function SwapOuterHTML(target, fragment, onSettleCallback) {
target.replaceWith(fragment)
}
}

return onSettleCallback()
}

export function SwapAfterBegin(target, fragment, onSettleCallback) {
Expand Down

0 comments on commit aa32679

Please sign in to comment.