From 7d292923cb87d74cdab3e190a37fefbe0535c84b Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Sun, 14 Oct 2018 13:52:57 +0200 Subject: Fixed preloader image :sparkles: --- assets/js/preLoader.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); -- cgit v1.2.3