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 =====================*/