Created
October 22, 2015 12:15
-
-
Save srinathweb/aa07c36b8da8ffda0148 to your computer and use it in GitHub Desktop.
url hash
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| if(window.location.hash) { | |
| // Fragment exists | |
| } else { | |
| // Fragment doesn't exist | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment