Skip to content

Commit 3f1ff60

Browse files
committed
fix for turbolinks
1 parent 53379cf commit 3f1ff60

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vendor/assets/javascripts/active_admin_scoped_collection_actions.js.coffee

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
$(document).ready ->
44

5-
$('.scoped_collection_action_button').click (e) ->
5+
$(document).on 'click', '.scoped_collection_action_button', (e) ->
66
e.preventDefault()
77
fields = JSON.parse( $(this).attr('data') )
88

0 commit comments

Comments
 (0)