Created
December 10, 2019 09:06
-
-
Save max-kk/efd67a40af07ecfbab74f750790ce735 to your computer and use it in GitHub Desktop.
LRM modal tabindex mfp
This file contains hidden or 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
jQuery(document).on("lrm/before_display/login", function() { | |
jQuery(".mfp-wrap").attr("tabindex", false); | |
}); | |
jQuery(document).on("lrm/before_display/registration", function() { | |
jQuery(".mfp-wrap").attr("tabindex", false); | |
}); | |
jQuery(document).on("lrm/close_modal", function() { | |
jQuery(".mfp-wrap").attr("tabindex", "-1"); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment