diff --git a/src/app/components/accordion/accordion.ts b/src/app/components/accordion/accordion.ts index 975f44efb35..1a334e1bcd6 100755 --- a/src/app/components/accordion/accordion.ts +++ b/src/app/components/accordion/accordion.ts @@ -283,7 +283,7 @@ export class AccordionTab implements AfterContentInit, OnDestroy { this.accordion.updateActiveIndex(); this.changeDetector.markForCheck(); - event.preventDefault(); + event?.preventDefault(); } findTabIndex() {