mirror of
https://github.com/fly-apps/live_beats.git
synced 2024-11-15 20:51:03 +00:00
Remove unnecessary parameter.
This commit is contained in:
parent
f1908151f9
commit
bb8f14cfe1
1 changed files with 2 additions and 2 deletions
|
@ -291,7 +291,7 @@ let liveSocket = new LiveSocket("/live", Socket, {
|
|||
}
|
||||
})
|
||||
|
||||
let routeUpdated = ({kind}) => {
|
||||
let routeUpdated = () => {
|
||||
Focus.focusMain()
|
||||
}
|
||||
|
||||
|
@ -301,7 +301,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", e => routeUpdated(e.detail))
|
||||
window.addEventListener("phx:page-loading-stop", routeUpdated)
|
||||
|
||||
window.addEventListener("js:exec", e => e.target[e.detail.call](...e.detail.args))
|
||||
window.addEventListener("js:focus", e => {
|
||||
|
|
Loading…
Reference in a new issue