Guest User

Untitled

a guest
Jul 8th, 2015
221
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.49 KB | None | 0 0
  1. if (query_parm_value == 1) {
  2. history.pushState(data, null, td_history.get_mod_rewrite_base_url()); //add the hash via history api
  3. } else if (query_parm_value == 2) {
  4. history.pushState(data, null, td_history.get_mod_rewrite_base_url() + '/' + query_parm_value + '/');
  5. }
  6. else{
  7. history.pushState(data, null, td_history.get_mod_rewrite_base_url() + query_parm_value + '/'); //add the hash via history api
  8. }
Advertisement
Add Comment
Please, Sign In to add comment