Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Element URL Matches Current URL with Hash
function(){
if ( {{element url}}.indexOf({{url}} + '#') === 0 ) {
return true;
}
return false;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment