mirror of
https://github.com/fly-apps/live_beats.git
synced 2024-11-22 08:01: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())
|
window.addEventListener("phx:page-loading-stop", info => topbar.hide())
|
||||||
|
|
||||||
// Accessible routing
|
// 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))
|
window.addEventListener("js:exec", e => e.target[e.detail.call](...e.detail.args))
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue