Last active
November 30, 2017 06:49
-
-
Save peterfication/953a8da51392f6249dde0fdb41c6a654 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const handleConfirm = link => { | |
// Do your thing | |
} | |
Rails.delegate(document, 'a[data-confirm-swal]', 'click', handleConfirm) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment