Skip to content

Commit

Permalink
* [html5] fix fire event
Browse files Browse the repository at this point in the history
  • Loading branch information
MrRaindrop committed Jul 4, 2016
1 parent c61f06d commit 978c454
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion html5/browser/componentManager.js
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ ComponentManager.prototype = {
const listener = function (e) {
const evt = utils.extend({}, e)
evt.target = component.data
sender.fireEvent(ref, type, func, evt)
sender.fireEvent(ref, type, func || {}, evt)
}
component.node.addEventListener(type, listener, false, false)
let listeners = component._listeners
Expand Down

0 comments on commit 978c454

Please sign in to comment.