Skip to content

Instantly share code, notes, and snippets.

@psflannery
Created September 15, 2013 23:35
Show Gist options
  • Save psflannery/6575239 to your computer and use it in GitHub Desktop.
Save psflannery/6575239 to your computer and use it in GitHub Desktop.
Add a class to an element after a specific time
setTimeout(function() {
$('body').addClass("poster");
}, 1000);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment