Explorar o código

Merge pull request #537 from bnadeau/fast-focus

Reset checkarea for mouse wheel event when the mouse moved
Inuyaksa %!s(int64=9) %!d(string=hai) anos
pai
achega
713500dab0
Modificáronse 1 ficheiros con 1 adicións e 3 borrados
  1. 1 3
      jquery.nicescroll.js

+ 1 - 3
jquery.nicescroll.js

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