Created
July 26, 2019 17:06
-
-
Save parsibox/9937ac55ba56b0ab9186a0ca44dd18c7 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
/FOR SHOWING | |
$(window).on('shown.bs.modal', function() { | |
$('#code').modal('show'); | |
alert('shown'); | |
}); | |
//FOR HIDDING | |
$(window).on('hidden.bs.modal', function() { | |
$('#code').modal('hide'); | |
alert('hidden'); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment