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

github.com/themefisher/Influencer-hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsomrat <monnaf37@gmail.com>2020-06-20 06:45:48 +0300
committersomrat <monnaf37@gmail.com>2020-06-20 06:45:48 +0300
commitc12388e48953fbbdde8c3dfb843f3eae2b60afd3 (patch)
tree762491b97db3512de579ee623c82f31228deb676
parent186572623e153cfd7f20738d9ea69053b67a7f71 (diff)
fixed navbar activation
-rw-r--r--assets/js/script.js14
1 files changed, 2 insertions, 12 deletions
diff --git a/assets/js/script.js b/assets/js/script.js
index 8793186..6b1e770 100644
--- a/assets/js/script.js
+++ b/assets/js/script.js
@@ -7,7 +7,8 @@
'use strict';
$('body').scrollspy({
- target: '#navbarmain'
+ target: '#navbarmain',
+ offset: 100
});
/*
@@ -77,17 +78,6 @@
});
- // SCROLL TO TOP
-
- $(window).on('scroll', function () {
- if ($(window).scrollTop() > 70) {
- $('.scroll-to-top').addClass('reveal');
- } else {
- $('.scroll-to-top').removeClass('reveal');
- }
- });
-
-
/* ----------------------------------------------------------- */
/* Fixed header
/* ----------------------------------------------------------- */