added target=_blank to links in info section

This commit is contained in:
Minasokoni
2017-03-20 16:12:59 -07:00
parent 9409320009
commit 2248e02a4d
2 changed files with 5 additions and 5 deletions

4
dist/swagger-ui.js vendored

File diff suppressed because one or more lines are too long

View File

@@ -58,7 +58,7 @@ class License extends React.Component {
return ( return (
<div> <div>
{ {
url ? <a href={ url }>{ name }</a> url ? <a target="_blank" href={ url }>{ name }</a>
: <span>{ name }</span> : <span>{ name }</span>
} }
</div> </div>
@@ -95,7 +95,7 @@ export default class Info extends React.Component {
{ version && <small><pre className="version"> { version } </pre></small> } { version && <small><pre className="version"> { version } </pre></small> }
</h2> </h2>
{ host || basePath ? <Path host={ host } basePath={ basePath } /> : null } { host || basePath ? <Path host={ host } basePath={ basePath } /> : null }
{ url && <a href={ url }><span className="url"> { url } </span></a> } { url && <a target="_blank" href={ url }><span className="url"> { url } </span></a> }
</hgroup> </hgroup>
<div className="description"> <div className="description">
@@ -104,7 +104,7 @@ export default class Info extends React.Component {
{ {
termsOfService && <div> termsOfService && <div>
<a href={ termsOfService }>Terms of service</a> <a target="_blank" href={ termsOfService }>Terms of service</a>
</div> </div>
} }