Skip to content

Instantly share code, notes, and snippets.

@wombleton
Created November 12, 2010 22:18
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 wombleton/674800 to your computer and use it in GitHub Desktop.
Save wombleton/674800 to your computer and use it in GitHub Desktop.
Public Address In-Reply-To Improve
$('.reply-to').live('click', function() {
var hash = ($(this).attr('href') || '').split('#')[1];
if ($('#' + hash).length && hash) {
window.location.hash = hash;
return false;
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment