diff --git a/wp-content/plugins/elementor-addon/assets/js/main.js b/wp-content/plugins/elementor-addon/assets/js/main.js index 8ee3755..e69de29 100644 --- a/wp-content/plugins/elementor-addon/assets/js/main.js +++ b/wp-content/plugins/elementor-addon/assets/js/main.js @@ -1,5 +0,0 @@ -jQuery(document).ready(function ($) { - $(window).on('scroll', function () { - $('#header-box').toggleClass('box-fixed', $(this).scrollTop() > 0); - }); -}); \ No newline at end of file diff --git a/wp-content/themes/hello-elementor/assets/js/custom.js b/wp-content/themes/hello-elementor/assets/js/custom.js index e69de29..8ee3755 100644 --- a/wp-content/themes/hello-elementor/assets/js/custom.js +++ b/wp-content/themes/hello-elementor/assets/js/custom.js @@ -0,0 +1,5 @@ +jQuery(document).ready(function ($) { + $(window).on('scroll', function () { + $('#header-box').toggleClass('box-fixed', $(this).scrollTop() > 0); + }); +}); \ No newline at end of file