Last active
August 29, 2015 13:56
-
-
Save Pross/8851748 to your computer and use it in GitHub Desktop.
This file contains 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( "i" ).each(function( e ) { | |
var classes = jQuery(this).attr('class') || '' | |
var check = classes.indexOf("icon-"); | |
if( -1 != check ) { | |
jQuery(this).attr('class', 'icon ' + classes) | |
} | |
}) |
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
https://gist.github.com/8851748.git