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