Created
February 26, 2016 18:59
-
-
Save ericakfranz/61ec46e18a872e27fd8e to your computer and use it in GitHub Desktop.
Remove title attribute from Envira Gallery images to prevent it from appearing on hover.
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
<script type="text/javascript"> | |
jQuery('document').ready(function($){ | |
$('.envira-gallery-image[title]').removeAttr('title'); | |
}); | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Ahhhh thank you! Can I use a async or defer with this? If so, which do you recommend? Sorry, total newb, obviously.