clearTimeout() not working in my scroll function

后端 未结 0 1234
谎友^
谎友^ 2020-12-31 03:45

I am trying to clear a setTimeout while scrolling up but am having a time trying to get it to work.

This is my code currently:

var lastScrollPosition =         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题