Przeglądaj źródła

Onscroll event

I ran into the problem, I attach an event "onscrollend", it transition some an element to left by css. Nicescroll does it no smoothy.
To managed of this, was added to the function of "self.onscroll" call of "self.triggerScrollEnd()"
Dmitriy 8 lat temu
rodzic
commit
ce70310970
1 zmienionych plików z 1 dodań i 0 usunięć
  1. 1 0
      jquery.nicescroll.js

+ 1 - 0
jquery.nicescroll.js

@@ -3333,6 +3333,7 @@
           self.noticeCursor();
         });
       }
+      self.triggerScrollEnd();
     };
     self.bind(self.docscroll, "scroll", self.onscroll);