Skip to content

Instantly share code, notes, and snippets.

@andershaig
Created December 5, 2011 15:55
Show Gist options
  • Save andershaig/1434051 to your computer and use it in GitHub Desktop.
Save andershaig/1434051 to your computer and use it in GitHub Desktop.
Add Target="_top" to Twitter Links after Page Load
$(window).load( function () {
$('.tweet a').each( function () {
$(this).attr('target', '_top');
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment