Skip to content

Commit

Permalink
Fixed a bug where a custom event that share a native event name would…
Browse files Browse the repository at this point in the history
… not be called
  • Loading branch information
jpdery committed May 30, 2012
1 parent 8389340 commit ca829ae
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Source/Component/Component.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
},

Expand Down

0 comments on commit ca829ae

Please sign in to comment.