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:
Diffstat (limited to 'static/js/main.js')
-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
+});