Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (function ($) {
- $(document).ready(function () {
- const hash = $(location).attr('hash');
- if (hash.search('#jeg_loginform') === 0) {
- $('.jeg_popuplink').magnificPopup('open');
- }
- });
- })(jQuery); /* Open the popup login if there is a #jeg_loginform URL */
Add Comment
Please, Sign In to add comment