Skip to content

Commit 8e93dcd

Browse files
authored
Merge pull request #163 from Divyanshu-s13/fix/404-redirect-event-handler
Thanks @Divyanshu-s13 for the update
2 parents 54e97c4 + 5901233 commit 8e93dcd

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

404.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@
1717
</style>
1818

1919
<script type="text/javascript">
20-
document.onload = function() {
20+
window.addEventListener('load', function() {
2121
document.location.replace("https://www.owasp.org");
22-
}
22+
});
2323
</script>
2424

2525
<div class="container">

0 commit comments

Comments
 (0)