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

Don’t jump to top of the page when switching views #125

Merged
merged 1 commit into from
Feb 26, 2018

Commits on Feb 26, 2018

  1. Don’t jump to top of the page when switching views

    Clicks on the view switcher buttons are supposed to be handled by
    JavaScript in order to switch the active view, bypassing the browser.
    However, without telling the browser that the click events have been
    reacted to, it will load the URL as usual. As the view switcher buttons
    have a “#” placeholder link, this would cause the browser to jump to
    to the top of the page.
    
    This is fixed by returning false in the click event handling functions.
    pluehne committed Feb 26, 2018
    Configuration menu
    Copy the full SHA
    2bca2c3 View commit details
    Browse the repository at this point in the history