Skip to content

Commit

Permalink
22
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgemanrubia committed Dec 4, 2024
1 parent 897c16c commit f8a29e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/javascript/hotwire_spark/helpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export function cacheBustedUrl(urlString) {
}

export async function reloadHtmlDocument() {
let currentUrl = urlWithParams(window.location.href, { hotwire_spark: "true" })
let currentUrl = urlWithParams(window.location.href)
const response = await fetch(currentUrl)
const fetchedHTML = await response.text()
const parser = new DOMParser()
Expand Down

0 comments on commit f8a29e7

Please sign in to comment.