Add Listener so Back Button Switches Tabs
The `popstate` event fires when a browser's back button is clicked, so we need to listen to it if we want the back button to actually go back now that we use query parameters for tab selection.
Showing
Please register or sign in to comment