Explorar o código

event delegate fix

mohaneldia %!s(int64=6) %!d(string=hai) anos
pai
achega
d121622824
Modificáronse 1 ficheiros con 8 adicións e 0 borrados
  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) {