diff options
-rw-r--r-- | assets/js/preLoader.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/assets/js/preLoader.js b/assets/js/preLoader.js index 3f6e2e1..d566458 100644 --- a/assets/js/preLoader.js +++ b/assets/js/preLoader.js @@ -1,5 +1,5 @@ +$("body").css("backgroundImage", "url('https://source.unsplash.com/collection/3349303/" + window.outerWidth + "x" + window.outerHeight + "')"); $(window).on("load", () => { - $("body").css("backgroundImage", "url('https://source.unsplash.com/collection/3349303/" + window.outerWidth + "x" + window.outerHeight + "')"); $("#udDots") .fadeOut(300, () => { $(".typewriter h1").fadeIn(); |