From dc56cacd17a7da41f3e4cb4fd5abf8c7ae8fd2b8 Mon Sep 17 00:00:00 2001 From: Lourguioui Date: Sat, 22 Feb 2020 20:26:30 +0100 Subject: [PATCH] timer 2 --- assets/js/dino.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/js/dino.js b/assets/js/dino.js index 3d56d60..7f9827d 100644 --- a/assets/js/dino.js +++ b/assets/js/dino.js @@ -8,7 +8,7 @@ (function ($) { 'use strict'; // Preloader - $(window).on("load", function () { + $(function () { $("#loading").fadeOut(500); }); /* ============= backgroun d animation =====================*/