Remove target="_blank" from "Download" button

This commit is contained in:
Bohdan Khorolets 2017-10-19 17:24:31 +03:00 committed by Roman Hotsiy
parent af81c33c99
commit dd3c98defa

View File

@ -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 ? -->