Fix js issues on loading due to turbo config
This commit is contained in:
parent
a48c25718f
commit
80e1f89c7e
4 changed files with 15 additions and 8 deletions
|
|
@ -57,6 +57,9 @@ const scrollTo = () => {
|
|||
});
|
||||
}
|
||||
|
||||
mobileMenu();
|
||||
jobInfoToggle();
|
||||
scrollTo();
|
||||
|
||||
document.addEventListener('turbo:load', (event) => {
|
||||
mobileMenu();
|
||||
jobInfoToggle();
|
||||
scrollTo();
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue