scratch – Blame information for rev
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
115 | office | 1 | jQuery(document).ready( |
2 | function () { |
||
3 | var hash = window.location.hash.replace(/^#/, ''); |
||
4 | |||
5 | if (hash) { |
||
6 | jQuery('#main-frame').attr('src', hash); |
||
7 | |||
8 | if (history.pushState) { |
||
9 | history.pushState( |
||
10 | '', |
||
11 | document.title, |
||
12 | window.location.pathname + window.location.search |
||
13 | ); |
||
14 | } |
||
15 | } |
||
16 | } |
||
17 | ); |