Skip to content

Commit

Permalink
fix(devtools): prevent link in property view body from closing panel …
Browse files Browse the repository at this point in the history
…header when clicked (rangle/angular-devtools#714)
  • Loading branch information
AleksanderBodurri committed Apr 26, 2021
1 parent fc2f65e commit e203470
Showing 1 changed file with 6 additions and 1 deletion.
Expand Up @@ -4,7 +4,12 @@
<mat-expansion-panel-header collapsedHeight="25px" expandedHeight="25px">
<mat-panel-title>
{{ panels[index].title }}
<a href="{{ panels[index].documentation }}" target="_blank" class="documentation">
<a
href="{{ panels[index].documentation }}"
target="_blank"
class="documentation"
(click)="$event.stopPropagation()"
>
<mat-icon class="docs-link"> link </mat-icon>
</a>
</mat-panel-title>
Expand Down

0 comments on commit e203470

Please sign in to comment.