Skip to content

Instantly share code, notes, and snippets.

@martinwolf
Last active December 17, 2015 10:49
Show Gist options
  • Save martinwolf/5597351 to your computer and use it in GitHub Desktop.
Save martinwolf/5597351 to your computer and use it in GitHub Desktop.
JS: Two events, load and resize
$(window).on('load resize', function() {
// do something
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment