Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var cat, newview, hash = location.hash.slice(1);
- if (hash && (cat = document.getElementById(hash))) {
- newview = cat.value;
- if (newview !== gViewController.currentViewId) {
- gViewController.loadView(newview);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement