Explorar o código

Reset checking area on mouse wheel event when the mouse moved.

Bruno Nadeau %!s(int64=9) %!d(string=hai) anos
pai
achega
5334bf17a6
Modificáronse 1 ficheiros con 1 adicións e 3 borrados
  1. 1 3
      jquery.nicescroll.js

+ 1 - 3
jquery.nicescroll.js

@@ -1484,11 +1484,9 @@
 
               return self.cancelEvent(e);
             }
-            /*              
             else {
-              self.checkarea = true;
+              self.checkarea = 0;
             }
-*/
           };
 
           if (cap.cantouch || self.opt.touchbehavior) {