Fixed pagination and scene poster overflowing page on small screens. Fixed back reload interfering with tag page hashes.

This commit is contained in:
2024-03-19 20:50:50 +01:00
parent 21eaa98de4
commit 52708b5d70
12 changed files with 141 additions and 77 deletions

View File

@@ -16,8 +16,10 @@ async function onRenderClient(pageContext) {
if (typeof window !== 'undefined') {
window.addEventListener('popstate', () => {
// force reload when back button is used
window.location.reload();
if (!window.location.hash) {
// force reload when back button is used
window.location.reload();
}
});
}
}