Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (current != base)
- {
- if (current != base + "/" && current.split("#comment-").length != 1)
- {
- var comment_split = current.replace(base, "").split("#comment-");
- location = base + "/#" + comment_split[0];
- return false;
- } else if (current != base + "/" && current.split("#").length == 1)
- {
- location = base + "/#" + current.replace(base, "");
- return false;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement