Created
August 14, 2015 08:28
-
-
Save ABooooo/03647636e0b9b57ca29f to your computer and use it in GitHub Desktop.
change html tag
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
/* change h3 to h2 in blog list view */ | |
$(function() { | |
$('.news-list-view h3').each(function(i, em) { | |
$(em).replaceWith('<h2>'+$(em).html()+'</h2>'); | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment