Prechádzať zdrojové kódy

Merge pull request #537 from bnadeau/fast-focus

Reset checkarea for mouse wheel event when the mouse moved
Inuyaksa 9 rokov pred
rodič
commit
713500dab0
1 zmenil súbory, kde vykonal 1 pridanie a 3 odobranie
  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) {