miguel-perez/smoothState.js

Relative links stop working after 1 cycle

Open

#200 aberto em 31 de jul. de 2015

Ver no GitHub
 (6 comments) (0 reactions) (0 assignees)CSS (515 forks)batch import
bughelp wanted

Métricas do repositório

Stars
 (4.433 stars)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 30d)

Description

Demo: http://dirkvanveghel.nl/smoothbug/portfolio/

Steps to reproduce:

  • Click on About in the menu.
  • Click on Portfolio in the menu. (or the other way around, doesn't matter which page you start)

Expected result: You navigate to the Portfolio page.

Actual result: You navigate 'back' one directory too many, or just back to the root.

Tested in Chrome and FF.

Description: When you switch from Portfolio > About the first time it works, but when you want to navigate back to portfolio again via the same menu it fetches the URL wrong and goes back one directory too many it seems. When you refresh the bug is also gone, so I assume I didn't just code anything wrong. Sorry for my non-native English, or if I'm just doing something wrong.

Guia do colaborador