Browse Source

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

Bruno Nadeau 9 năm trước cách đây
mục cha
commit
5334bf17a6
1 tập tin đã thay đổi với 1 bổ sung3 xóa
  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) {