Skip to content

Commit 089ec53

Browse files
authored
Merge pull request #93 from BigKev73/patch-10
Update index.php
2 parents 36b2d88 + 7703b34 commit 089ec53

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

index.php

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -299,3 +299,13 @@
299299
// irmtfan move to footer.php
300300
require_once __DIR__ . '/footer.php';
301301
require_once $GLOBALS['xoops']->path('footer.php');
302+
//added missing php closing tag
303+
?>
304+
<script>
305+
//Added by BigKev73 to force the reloading of this page when the browser back button is used. Otherwise the unread envelope status wont update
306+
if(!!window.performance && window.performance.navigation.type === 2)
307+
{
308+
console.log('Reloading');
309+
window.location.reload();
310+
}
311+
</script>

0 commit comments

Comments
 (0)