Browse Source

testing

master
farhan 5 months ago
parent
commit
8e12d947e3
1 changed files with 1 additions and 4 deletions
  1. 1
    4
      resources/js/app.js

+ 1
- 4
resources/js/app.js View File

@@ -77,10 +77,7 @@ $(function() {
77 77
             $('.parent').addClass(['z-30']);
78 78
         }
79 79
     });
80
-
81
-    if (distance === 0) {
82
-        $(window).off('scroll'); // Remove scroll event listener
83
-    }
80
+    
84 81
     // Initially check visibility on page load
85 82
     $(window).trigger('scroll');
86 83
 });

Loading…
Cancel
Save