Skip to content

Commit b7c63d1

Browse files
matthewhartstongemansona
authored andcommitted
fix(addon/components/paper-button): ensure event exists.
1 parent 9a16fc0 commit b7c63d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

addon/components/paper-button.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ export default class PaperButton extends Focusable {
111111
}
112112

113113
// Prevent bubbling, if specified. If undefined, the event will bubble.
114-
if (!this.bubbles) {
114+
if (!this.bubbles && e) {
115115
e.stopPropagation();
116116
}
117117
}

0 commit comments

Comments
 (0)