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

github.com/themefisher/kross-hugo-portfolio-template.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/assets
diff options
context:
space:
mode:
Diffstat (limited to 'assets')
-rw-r--r--assets/js/script.js16
1 files changed, 7 insertions, 9 deletions
diff --git a/assets/js/script.js b/assets/js/script.js
index ff3101e..51888a8 100644
--- a/assets/js/script.js
+++ b/assets/js/script.js
@@ -1,13 +1,11 @@
+// Preloader js
+$(window).on('load', function () {
+ $('.preloader').fadeOut(100);
+});
+
(function ($) {
'use strict';
-
- // Preloader js
- $(window).on('load', function () {
- $('.preloader').fadeOut(100);
- });
-
-
// Sticky Menu
$(window).scroll(function () {
if ($('.navigation').offset().top > 100) {
@@ -49,7 +47,7 @@
other operations, as below elements are bingding to the parallax.
*/
if (!parallaxBox) {
- return ;
+ return;
}
var
@@ -169,4 +167,4 @@
-})(jQuery);
+})(jQuery); \ No newline at end of file