prep.js 177 B

1234567
  1. $(document).ready(function() {
  2. $('a').each(function() {
  3. if (this.hostname == location.hostname && this.hash) {
  4. this.href = location.href + this.hash;
  5. }
  6. });
  7. });