on frame-load not just load
This commit is contained in:
parent
80e1f89c7e
commit
39808a8cf3
3 changed files with 3 additions and 3 deletions
|
|
@ -58,7 +58,7 @@ const scrollTo = () => {
|
|||
}
|
||||
|
||||
|
||||
document.addEventListener('turbo:load', (event) => {
|
||||
document.addEventListener('turbo:frame-load', (event) => {
|
||||
mobileMenu();
|
||||
jobInfoToggle();
|
||||
scrollTo();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue