Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <script>
- var timer=null;
- $(window).scroll(function(){
- $('.index-scroll-wrap').css("display", "none");
- console.log('working');
- if(timer !== null) {
- clearTimeout(timer);
- }
- timer=setTimeout(function(){
- $('.index-scroll-wrap').css('display','block');
- },50);
- });
- </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement