mirror of
https://github.com/fly-apps/live_beats.git
synced 2024-11-21 15:41:00 +00:00
Remove unnecessary window.requestAnimationFrame
.
This commit is contained in:
parent
ce1a1fdc5f
commit
7d09845b8c
1 changed files with 1 additions and 1 deletions
|
@ -199,7 +199,7 @@ window.addEventListener("phx:page-loading-start", info => topbar.show())
|
|||
window.addEventListener("phx:page-loading-stop", info => topbar.hide())
|
||||
|
||||
// Accessible routing
|
||||
window.addEventListener("phx:page-loading-stop", () => window.requestAnimationFrame(routeUpdated))
|
||||
window.addEventListener("phx:page-loading-stop", routeUpdated)
|
||||
|
||||
window.addEventListener("js:exec", e => e.target[e.detail.call](...e.detail.args))
|
||||
|
||||
|
|
Loading…
Reference in a new issue