Browse Source

event delegate fix

mohaneldia 6 năm trước cách đây
mục cha
commit
d121622824
1 tập tin đã thay đổi với 8 bổ sung0 xóa
  1. 8 0
      jquery.nicescroll.js

+ 8 - 0
jquery.nicescroll.js

@@ -2509,6 +2509,14 @@
 
         delegatevents[name] = de;
 
+      } else {
+        self.events.push({
+          e: dom,
+          n: name,
+          f: fn,
+          b: bubble,
+          q: false
+        });
       }
 
       if (self.ispage) {