Skip to content

Commit

Permalink
fix(accordion): remove unnecessary tabindex usage
Browse files Browse the repository at this point in the history
Fixes #942
Closes #943
  • Loading branch information
cmckni3 authored and pkozlowski-opensource committed Oct 22, 2016
1 parent 8e95567 commit a240bea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/accordion/accordion.ts
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,8 @@ export interface NgbPanelChangeEvent {
<div class="card">
<template ngFor let-panel [ngForOf]="panels">
<div [class]="'card-header ' + (panel.type ? 'card-'+panel.type: type ? 'card-'+type : '')" [class.active]="isOpen(panel.id)">
<a tabindex="0" href (click)="!!toggle(panel.id)" [class.text-muted]="panel.disabled">
{{panel.title}}<template [ngTemplateOutlet]="panel.titleTpl?.templateRef"></template>
<a href (click)="!!toggle(panel.id)" [class.text-muted]="panel.disabled">
{{panel.title}}<template [ngTemplateOutlet]="panel.titleTpl?.templateRef"></template>
</a>
</div>
<div class="card-block" *ngIf="isOpen(panel.id)">
Expand Down

0 comments on commit a240bea

Please sign in to comment.