Skip to content

Consideration: cross page scrolling work #18

@tw2113

Description

@tw2113

Do we want to make this work with hashes on separate pages instead of just within the current page?

If you do decide to fix it this should do the trick on line 34:

if ( ! $( app.hash ) )

change to:

if ( ! $( app.hash ) || location.pathname.replace(/^\//,'') != this.pathname.replace(/^\//,'') )

Original request: https://wordpress.org/support/topic/breaks-between-pages-2/

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions