Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
FrankFang authored Mar 22, 2018
1 parent da223db commit f4d2266
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/dom/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ let dom = {
},

dispatchEvent: function(element, eventType, detail) {
let event = new CustomEvent('pageChange', { detail })
let event = new CustomEvent(eventType, { detail })
element.dispatchEvent(event)
return this
},
Expand Down

0 comments on commit f4d2266

Please sign in to comment.