Created
December 1, 2016 14:14
-
-
Save kylefox/cc767957f8ab1519d9f37ccb8d86c6e2 to your computer and use it in GitHub Desktop.
This file contains 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
$(document).on('click', '.modal button.yes', function() { | |
console.log('You clicked yes!'); | |
$.modal.close(); | |
}); | |
$(document).on('click', '.modal button.no', function() { | |
console.log('You clicked no!'); | |
$.modal.close(); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment