mirror of
https://github.com/michivonah/website-v2.git
synced 2025-12-22 20:46:29 +01:00
Update 404.html
This commit is contained in:
parent
05a0dfa273
commit
229af4f69f
1 changed files with 4 additions and 3 deletions
7
404.html
7
404.html
|
|
@ -79,17 +79,18 @@
|
|||
<script>
|
||||
// Loading
|
||||
window.addEventListener('load', () => {
|
||||
// random error image
|
||||
randomHomeImg();
|
||||
// hide loadingscreen
|
||||
document.getElementById('loadingScreen').style.display = "none";
|
||||
});
|
||||
|
||||
function randomHomeImg(){
|
||||
|
||||
function randomHomeImg(){
|
||||
var homeImg = document.getElementById('homeImg');
|
||||
var num = Math.floor(Math.random() * (4 - 1) + 1);
|
||||
homeImg.src = "assets/bitmojis/error_" + num + ".png";
|
||||
}
|
||||
|
||||
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue