Skip to content

Commit

Permalink
Update scripts.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Baonks81 committed Nov 19, 2023
1 parent 3ccadb2 commit 138a56b
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions assets/js/scripts.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,7 @@ window.addEventListener("load", () => {

loader.classList.add("loader--hidden");

});

$(document).ready(function() {
$("#commonPreloader").removeClass();
loader.addEventListener("transitionend", () => {
document.body.removeChild(loader);
});
});

0 comments on commit 138a56b

Please sign in to comment.