Skip to content

Commit

Permalink
fix(action): don't prevent default on links
Browse files Browse the repository at this point in the history
  • Loading branch information
yggg committed Jan 22, 2019
1 parent 4bc5145 commit 2329e59
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/framework/theme/components/actions/actions.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,13 @@ import { convertToBoolProperty } from '../helpers';
<a class="icon-container"
[routerLink]="link"
[title]="title"
*ngIf="link"
(click)="$event.preventDefault()">
*ngIf="link">
<i class="control-icon {{ icon }}"></i>
</a>
<a class="icon-container"
[href]="href"
[title]="title"
*ngIf="href && !link"
(click)="$event.preventDefault()">
*ngIf="href && !link">
<i class="control-icon {{ icon }}"></i>
</a>
<a class="icon-container"
Expand Down

0 comments on commit 2329e59

Please sign in to comment.