Skip to content

Commit

Permalink
Merge pull request #156 from hitobito/task/replace-turbolinks-with-turbo
Browse files Browse the repository at this point in the history
Subscribe to turbo instead of turbolinks events
  • Loading branch information
mtnstar authored Feb 21, 2024
2 parents 0ef6fb3 + f8b4275 commit eb543c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/assets/javascripts/wagon.js.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import './_cost_accounting_note_copier.js.coffee'
$(document).on('click', '.cancel[href="#"]', (event) ->
$(this).closest('form').get(0).reset())

$(document).on('turbolinks:load', ->
$(document).on('turbo:load', ->
$('#person_manual_number').on('change', (event) ->
$('#person_number').prop('disabled', !this.checked) )

Expand Down

0 comments on commit eb543c4

Please sign in to comment.