Skip to content

Commit

Permalink
Add quotes around turbolinks:load
Browse files Browse the repository at this point in the history
  • Loading branch information
creativetags authored Jan 16, 2024
1 parent ce27d08 commit 8662df4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/api/javascript/setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ window.addEventListener(load, Pagy.init)
window.addEventListener(turbo:load, Pagy.init)

// Turbolinks
window.addEventListener(turbolinks:load, Pagy.init)
window.addEventListener("turbolinks:load", Pagy.init)

// custom listener
window.addEventListener(yourEventListener, Pagy.init)
Expand Down

0 comments on commit 8662df4

Please sign in to comment.