From 9a84adbc1fa30f214e8f5964981214035fdd497d Mon Sep 17 00:00:00 2001 From: Matthew Hartstonge Date: Thu, 14 Nov 2024 17:11:50 +1300 Subject: [PATCH] fix(addon/components/paper-checkbox): ensure event exists. --- addon/components/paper-checkbox.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addon/components/paper-checkbox.js b/addon/components/paper-checkbox.js index 6c0e70599..c96860603 100644 --- a/addon/components/paper-checkbox.js +++ b/addon/components/paper-checkbox.js @@ -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(); } }