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 14, 2024
1 parent d563cbd commit 48e2b74
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 48e2b74

Please sign in to comment.