Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/themefisher/restaurant-hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThemefisher Dev <themefisher.dev@gmail.com>2020-01-09 10:02:36 +0300
committerThemefisher Dev <themefisher.dev@gmail.com>2020-01-09 10:02:36 +0300
commitdc445ec97779b26251875d80facef477d770bbd6 (patch)
treee4ac05d1cb8c0d2e936e5e8f7a4727d1bcc02da5
parent172233514cea9b415e3181da6eca396a26a70e91 (diff)
parent069718d51d6aa8fa0f357ab983ae7b4897aa654b (diff)
modified js file
-rw-r--r--static/js/main.js12
1 files changed, 6 insertions, 6 deletions
diff --git a/static/js/main.js b/static/js/main.js
index ec23bf9..0bc59d3 100644
--- a/static/js/main.js
+++ b/static/js/main.js
@@ -1,9 +1,9 @@
-$(document).ready(function () {
+// Preloader js
+$(window).on('load', function () {
+ $('.preloader').fadeOut(100);
+});
- // Preloader js
- $(window).on('load', function () {
- $('.preloader').fadeOut(100);
- });
+$(document).ready(function () {
// autohiding navbar on mobile devices
$('.navbar-collapse a').click(function () {
@@ -76,4 +76,4 @@ $(document).ready(function () {
//Initiat WOW JS
new WOW().init();
-}); \ No newline at end of file
+});