Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
anonvt committed Jun 28, 2024
1 parent b31d297 commit a6e5b52
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -174,9 +174,10 @@ export class TopsortBanner extends LitElement {
}
`;
const href = this.getLink(banner);
const imgtag = html`<img src="${src}" alt="Topsort banner"></img>`
const atag = this.target? html`<a href="${href}" target=${this.target}>${imgtag}</a>`
: html`<a href="${href}">${imgtag}</a>`
const imgtag = html`<img src="${src}" alt="Topsort banner"></img>`;
const atag = this.target
? html`<a href="${href}" target=${this.target}>${imgtag}</a>`
: html`<a href="${href}">${imgtag}</a>`;
return html`
<div style="${style}"
data-ts-clickable
Expand Down

0 comments on commit a6e5b52

Please sign in to comment.