Permalink
Browse files

Fixed a bug where a custom event that share a native event name would…

… not be called
  • Loading branch information...
1 parent 8389340 commit ca829aeda57cfb8425002677003425f8cdd27db9 @jpdery jpdery committed May 30, 2012
Showing with 3 additions and 2 deletions.
  1. +3 −2 Source/Component/Component.js
@@ -188,10 +188,11 @@ Moobile.Component = new Class({
}
}, internal);
- } else {
- this.parent(type, fn, internal);
}
+ // also needs to be added here
+ this.parent(type, fn, internal);
+
return this;
},

0 comments on commit ca829ae

Please sign in to comment.