File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -433,12 +433,12 @@ module.exports = {
433433module . exports = {
434434 // Turbolinks 5+ got rid of named events (?!)
435435 setup : function ( ujs ) {
436- ujs . handleEvent ( 'turbolinks:render ' , ujs . handleMount )
436+ ujs . handleEvent ( 'turbolinks:load ' , ujs . handleMount )
437437 ujs . handleEvent ( 'turbolinks:before-render' , ujs . handleUnmount )
438438 } ,
439439
440440 teardown : function ( ujs ) {
441- ujs . removeEvent ( 'turbolinks:render ' , ujs . handleMount )
441+ ujs . removeEvent ( 'turbolinks:load ' , ujs . handleMount )
442442 ujs . removeEvent ( 'turbolinks:before-render' , ujs . handleUnmount )
443443 } ,
444444}
Original file line number Diff line number Diff line change @@ -433,12 +433,12 @@ module.exports = {
433433module . exports = {
434434 // Turbolinks 5+ got rid of named events (?!)
435435 setup : function ( ujs ) {
436- ujs . handleEvent ( 'turbolinks:render ' , ujs . handleMount )
436+ ujs . handleEvent ( 'turbolinks:load ' , ujs . handleMount )
437437 ujs . handleEvent ( 'turbolinks:before-render' , ujs . handleUnmount )
438438 } ,
439439
440440 teardown : function ( ujs ) {
441- ujs . removeEvent ( 'turbolinks:render ' , ujs . handleMount )
441+ ujs . removeEvent ( 'turbolinks:load ' , ujs . handleMount )
442442 ujs . removeEvent ( 'turbolinks:before-render' , ujs . handleUnmount )
443443 } ,
444444}
You can’t perform that action at this time.
0 commit comments