Created
November 20, 2016 21:04
-
-
Save jhouedanou/8c134484f017632c686a7c08148f81a2 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).ready(function (){ | |
$('.open-popup-link').each(function() { | |
$(this).magnificPopup({ | |
type:'inline', | |
midClick: true // Allow opening popup on middle mouse click. Always set it to true if you don't provide alternative source in href. | |
}); | |
}); | |
}(window.jQuery || window.$)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment