mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Change page:change to turbolinks:load in README.md [ci skip]
This commit is contained in:
parent
de9a56b66a
commit
a0f871f95a
2 changed files with 2 additions and 2 deletions
|
@ -167,7 +167,7 @@ App.cable.subscriptions.create "AppearanceChannel",
|
|||
buttonSelector = "[data-behavior~=appear_away]"
|
||||
|
||||
install: ->
|
||||
$(document).on "page:change.appearance", =>
|
||||
$(document).on "turbolinks:load.appearance", =>
|
||||
@appear()
|
||||
|
||||
$(document).on "click.appearance", buttonSelector, =>
|
||||
|
|
|
@ -422,7 +422,7 @@ App.cable.subscriptions.create "AppearanceChannel",
|
|||
buttonSelector = "[data-behavior~=appear_away]"
|
||||
|
||||
install: ->
|
||||
$(document).on "page:change.appearance", =>
|
||||
$(document).on "turbolinks:load.appearance", =>
|
||||
@appear()
|
||||
|
||||
$(document).on "click.appearance", buttonSelector, =>
|
||||
|
|
Loading…
Reference in a new issue