Skip to content

Instantly share code, notes, and snippets.

@Pross Pross/Fix Icons
Last active Aug 29, 2015

Embed
What would you like to do?
jQuery( "i" ).each(function( e ) {
var classes = jQuery(this).attr('class') || ''
var check = classes.indexOf("icon-");
if( -1 != check ) {
jQuery(this).attr('class', 'icon ' + classes)
}
})
@kamswife

This comment has been minimized.

Copy link

kamswife commented Feb 6, 2014

@kamswife

This comment has been minimized.

Copy link

kamswife commented Feb 6, 2014

I'm new, trying to figure this out....lol

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.