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