Describe the bug
Javascript pushstate/popstate does not differentiate between back/forwards
We listen for browser back navigation by listening to a popstate event. However, the browser will send that whether we're pressing backwards or forwards.
So if we're in L1.P1 and press back, we go to the lesson, as expected. But if we then press forwards, we don't go to the practice, we go to the outliner, because it all comes back to _navigate_back() on a popstate event.
Describe the bug
Javascript pushstate/popstate does not differentiate between back/forwards
We listen for browser back navigation by listening to a popstate event. However, the browser will send that whether we're pressing backwards or forwards.
So if we're in L1.P1 and press back, we go to the lesson, as expected. But if we then press forwards, we don't go to the practice, we go to the outliner, because it all comes back to _navigate_back() on a popstate event.