Skip to content

Commit

Permalink
Merge pull request #284 from jmesserly/fix_utils_fire_bubbles
Browse files Browse the repository at this point in the history
small fix to bubbles parameter of utils.fire
  • Loading branch information
Steve Orvell committed Sep 25, 2013
2 parents 93765e6 + 4b0ef41 commit 401e71b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/instance/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
//log.events && console.log('[%s]: sending [%s]', node.localName, inType);
node.dispatchEvent(
new CustomEvent(type, {
bubbles: (bubbles !== undefined ? false : true),
bubbles: (bubbles !== undefined ? bubbles : true),
detail: detail
}));
return detail;
Expand Down

0 comments on commit 401e71b

Please sign in to comment.