Skip to content

Commit 03692c3

Browse files
4
1 parent fa0c730 commit 03692c3

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

redirect.html

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,10 @@
77
</head>
88
<script>
99
function load() {
10-
setTimeout(() => {
11-
location.href = 'https://marcusatzimpler.github.io';
12-
}, 2000);
10+
window.location = 'https://marcusatzimpler.github.io';
1311
}
1412
</script>
1513
<body>
16-
<button onclick="load()">BUTTON 3</button>
14+
<button onclick="load()">BUTTON 4</button>
1715
</body>
1816
</html>

0 commit comments

Comments
 (0)