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 17, 2024
1 parent c488d6f commit 9a84adb
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 9a84adb

Please sign in to comment.