Skip to content

Commit

Permalink
fix(addon/components/paper-checkbox): ensure event exists.
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewhartstonge committed Nov 15, 2024
1 parent 8cd0213 commit 7d3f8be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addon/components/paper-checkbox.js
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ export default class PaperCheckbox extends Focusable {
}

// Prevent bubbling, if specified. If undefined, the event will bubble.
if (!this.bubbles) {
if (!this.bubbles && e) {
e.stopPropagation();
}
}
Expand Down

0 comments on commit 7d3f8be

Please sign in to comment.