newpageshown event not firing on back button
-
Hey I have some complex javascript for the navigation on this site... https://www.lookstudios.com/vogue-mexico-latin-america
I am harnessing the 'newpageshown' event in order to reset the navigation as a user clicks throughout the site. (Project pages, the hp, and other pages have distinct navigation behaviors) and I noticed that when one goes back (i.e. goes from the hp to a project and then clicks the browser back button to go back to the hp), the newpageshown event does not fire. Is there another event I should be using?
I'm using Chrome
-
Hey I can't reproduce this.
Please update lay theme to the latest version and try again.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login