Skip to content

Commit

Permalink
Remove target="_blank" from "Download" button
Browse files Browse the repository at this point in the history
  • Loading branch information
khorolets authored and RomanHotsiy committed Oct 22, 2017
1 parent af81c33 commit dd3c98d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/components/ApiInfo/api-info.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<h1>{{info.title}} <span class="api-info-version">({{info.version}})</span></h1>
<p class="download-openapi" *ngIf="specUrl">
Download OpenAPI specification:
<a class="openapi-button" [attr.download]="downloadFilename" target="_blank" [attr.href]="specUrl"> Download </a>
<a class="openapi-button" [attr.download]="downloadFilename" [attr.href]="specUrl"> Download </a>
</p>
<p>
<!-- TODO: create separate components for contact and license ? -->
Expand Down

0 comments on commit dd3c98d

Please sign in to comment.