Skip to content

Commit

Permalink
Merge pull request primefaces#13873 from lwestfall/fix-accordion-tab-…
Browse files Browse the repository at this point in the history
…toggle

fix: accordionTab.toggle() with no args
  • Loading branch information
cetincakiroglu authored Oct 13, 2023
2 parents 5d964d7 + d96893c commit c92922d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/components/accordion/accordion.ts
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ export class AccordionTab implements AfterContentInit, OnDestroy {
this.accordion.updateActiveIndex();
this.changeDetector.markForCheck();

event.preventDefault();
event?.preventDefault();
}

findTabIndex() {
Expand Down

0 comments on commit c92922d

Please sign in to comment.