Skip to content

Commit

Permalink
Update preloader.js
Browse files Browse the repository at this point in the history
  • Loading branch information
bugzorc committed Apr 28, 2024
1 parent 32437ac commit 42ee4d6
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions preloader.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,5 @@ window.addEventListener('load', function() {
var preloader = document.getElementById('preloader');
var content = document.getElementById('content');

setTimeout(function() {
preloader.style.display = 'none'; // Hide the preloader
}, 1000); // Delay in milliseconds (1000ms = 1 second)
});
preloader.style.display = 'none'; // Hide the preloader
});

0 comments on commit 42ee4d6

Please sign in to comment.