window.location.href Breaks Back
// Fixes back button issue when using history.pushState();
window.onpopstate = e => {
window.location = location.href;
};
Dizzy Dog
// Fixes back button issue when using history.pushState();
window.onpopstate = e => {
window.location = location.href;
};