Skip to content

Commit

Permalink
Merge pull request #153 from walkr/patch-1
Browse files Browse the repository at this point in the history
Update css reload strategy
  • Loading branch information
chrismccord committed Mar 11, 2024
2 parents 71f0ee2 + 9c13a69 commit 815aab6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion priv/static/phoenix_live_reload.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ let cssStrategy = () => {
"link[rel=stylesheet]:not([data-no-reload]):not([data-pending-removal])"
)

([].slice).call(reloadableLinkElements)
Array.from(reloadableLinkElements)
.filter(link => link.href)
.forEach(link => buildFreshUrl(link))

Expand Down

0 comments on commit 815aab6

Please sign in to comment.