Skip to content

Commit

Permalink
s/active/!disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
mmalerba committed Nov 28, 2016
1 parent 6bc6dc0 commit ab0e985
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib/core/a11y/focus-trap.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<div *ngIf="active" tabindex="0" (focus)="focusLastTabbableElement()"></div>
<div *ngIf="!disabled" tabindex="0" (focus)="focusLastTabbableElement()"></div>
<div #trappedContent><ng-content></ng-content></div>
<div *ngIf="active" tabindex="0" (focus)="focusFirstTabbableElement()"></div>
<div *ngIf="!disabled" tabindex="0" (focus)="focusFirstTabbableElement()"></div>

0 comments on commit ab0e985

Please sign in to comment.