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