Skip to content

Commit

Permalink
Open search results in new tab
Browse files Browse the repository at this point in the history
  • Loading branch information
chrischrischris committed Mar 28, 2024
1 parent 7783c5b commit d469102
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion blocks/browse/da-browse/da-browse.js
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ export default class DaBrowse extends LitElement {
</div>
<input type="checkbox" name="select" style="display: none;">
` : nothing}
<a href="${item.ext ? this.getEditPath(item) : `#${item.path}`}" class="da-item-list-item-title">
<a href="${item.ext ? this.getEditPath(item) : `#${item.path}`}" class="da-item-list-item-title" target="${(item.match && '_blank') || nothing}">
<span class="da-item-list-item-type ${item.ext ? 'da-item-list-item-type-file' : 'da-item-list-item-type-folder'} ${item.ext ? `da-item-list-item-icon-${item.ext}` : ''}">
</span>${item.name}
</a>
Expand Down

0 comments on commit d469102

Please sign in to comment.