Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update ajax_nav.js #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Update ajax_nav.js #1

wants to merge 1 commit into from

Conversation

ardeay
Copy link

@ardeay ardeay commented Aug 11, 2013

I see firefox picks up
onpopstate = function (oEvent) { bUpdateURL = false; oPageInfo.title = oEvent.state.title; oPageInfo.url = oEvent.state.url; getPage(); };

but chrome does not. Adding the

window.onpopstate

gets it to work in chrome, not sure if this is correct or not.

I see firefox picks up 
```onpopstate = function (oEvent) {
		bUpdateURL = false;
		oPageInfo.title = oEvent.state.title;
		oPageInfo.url = oEvent.state.url;
		getPage();
	};```

but chrome does not. Adding the 	

```window.onpopstate```

gets it to work in chrome, not sure if this is correct or not.
@FossPrime
Copy link

Strict mode gives all sorts of errors... putting into my branch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants