Skip to content

Commit

Permalink
fix(addon/components/paper-button): ensure event exists.
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewhartstonge authored and mansona committed Nov 15, 2024
1 parent 9a16fc0 commit b7c63d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addon/components/paper-button.js
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ export default class PaperButton 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 b7c63d1

Please sign in to comment.