Sfoglia il codice sorgente

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 anni fa
parent
commit
ce70310970
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  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);