Created
October 29, 2013 21:41
-
-
Save EdCharbeneau/7223155 to your computer and use it in GitHub Desktop.
Foundation Reveal. Quickly add a second close button globally (to any number of modal dialog boxes).
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).foundation('reveal', { | |
//replace .secondary-close-reveal-modal with the class name of any element or button | |
dismissModalClass: 'close-reveal-modal, .secondary-close-reveal-modal' | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment