Skip to content

Commit 161b607

Browse files
authored
Merge pull request rails#26710 from kenta-s/change-page-change-to-turbolinks-load
Change page:change to turbolinks:load in README.md [ci skip]
2 parents de9a56b + a0f871f commit 161b607

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

actioncable/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ App.cable.subscriptions.create "AppearanceChannel",
167167
buttonSelector = "[data-behavior~=appear_away]"
168168

169169
install: ->
170-
$(document).on "page:change.appearance", =>
170+
$(document).on "turbolinks:load.appearance", =>
171171
@appear()
172172

173173
$(document).on "click.appearance", buttonSelector, =>

guides/source/action_cable_overview.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -422,7 +422,7 @@ App.cable.subscriptions.create "AppearanceChannel",
422422
buttonSelector = "[data-behavior~=appear_away]"
423423

424424
install: ->
425-
$(document).on "page:change.appearance", =>
425+
$(document).on "turbolinks:load.appearance", =>
426426
@appear()
427427

428428
$(document).on "click.appearance", buttonSelector, =>

0 commit comments

Comments
 (0)