Skip to content

Commit

Permalink
Order method
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgemanrubia committed Dec 16, 2024
1 parent b8c0b5a commit ad87e96
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions app/javascript/hotwire_spark/reloaders/html_reloader.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ export class HtmlReloader {
return reloadedDocument
}

async #reloadStimulus(reloadedDocument) {
return new StimulusReloader(reloadedDocument).reload()
}

#updateBody(newBody) {
Idiomorph.morph(document.body, newBody)
}

async #reloadStimulus(reloadedDocument) {
return new StimulusReloader(reloadedDocument).reload()
}
}

0 comments on commit ad87e96

Please sign in to comment.