Skip to content

Commit

Permalink
Merge pull request #3069 from nextcloud/nc-list-item-target-blank-fix
Browse files Browse the repository at this point in the history
  • Loading branch information
skjnldsv authored Aug 19, 2022
2 parents e0513e3 + 5131c6b commit ea72dc0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/NcListItem/NcListItem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -192,8 +192,8 @@
ref="list-item"
:class="{ 'list-item--active' : active }"
:href="href"
target="_blank"
rel="noopener noreferrer"
:target="href === '#' ? undefined : '_blank'"
:rel="href === '#' ? undefined : 'noopener noreferrer'"
class="list-item"
:aria-label="linkAriaLabel"
@mouseover="handleMouseover"
Expand Down

0 comments on commit ea72dc0

Please sign in to comment.