Skip to content

Instantly share code, notes, and snippets.

@pointcom
Created October 15, 2013 10:13
Show Gist options
  • Save pointcom/6989466 to your computer and use it in GitHub Desktop.
Save pointcom/6989466 to your computer and use it in GitHub Desktop.
var hash = document.location.hash.replace('#', '');
$('a[data-target='+hash+']').trigger('click');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment