Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (query_parm_value == 1) {
- history.pushState(data, null, td_history.get_mod_rewrite_base_url()); //add the hash via history api
- } else if (query_parm_value == 2) {
- history.pushState(data, null, td_history.get_mod_rewrite_base_url() + '/' + query_parm_value + '/');
- }
- else{
- history.pushState(data, null, td_history.get_mod_rewrite_base_url() + query_parm_value + '/'); //add the hash via history api
- }
Advertisement
Add Comment
Please, Sign In to add comment