Skip to content

Commit

Permalink
Only do new tab for files
Browse files Browse the repository at this point in the history
  • Loading branch information
auniverseaway committed Sep 12, 2024
1 parent 5135d1a commit ca2914b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion blocks/browse/da-list-item/da-list-item.js
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ export default class DaListItem extends LitElement {

renderItem() {
return html`
<a href="${this.ext ? getEditPath({ path: this.path, ext: this.ext }) : `#${this.path}`}" class="da-item-list-item-title" target="_blank">
<a href="${this.ext ? getEditPath({ path: this.path, ext: this.ext }) : `#${this.path}`}" class="da-item-list-item-title" target="${this.ext ? '_blank' : nothing}">
${this._isRenaming ? html`
<span class="da-item-list-item-type">
<svg class="icon rename-icon"><use href="#spectrum-Refresh"/></svg>
Expand Down

0 comments on commit ca2914b

Please sign in to comment.