views:

10

answers:

0

hey guys,

I'm using asual's jqueryAddress for history support in a wordpress site where I'm loading content without refreshing the page.

when i navigate through the site, for some reason the address is updated twice:

  1. siteurl/#about-us
  2. siteurl/#/about-us

(had to modify the urls above because I don't have enough 'reputation points' to post more than one url!)

site: http://esconrg.com/

You only notice it when clicking the back button as the same content gets loaded again.

Clicking back for a second time gets you the 'actual' previous content.

I can see this happening because of the "#" vs "#/" - but can't figure out where the url gets changed to add the extra "/" or how to add it from the beginning and prevent the double update.

Any help would be greatly appreciated.

cheers