Skip to content

Instantly share code, notes, and snippets.

@xavortm
Created July 10, 2015 15:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save xavortm/1162c7459a7da6552f51 to your computer and use it in GitHub Desktop.
Save xavortm/1162c7459a7da6552f51 to your computer and use it in GitHub Desktop.
var loadIcons = function () {
var time = 0;
$('.champions-grid .champ-icon').each(function( el ) {
var currElement = $(this);
setTimeout( function( ) {
console.log(currElement);
currElement.addClass('loaded');
}, time);
time += 100;
});
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment