Commit 2de71565 authored by Mark Florian's avatar Mark Florian

Merge branch 'mw-target-blank-fixes' into 'master'

Replace blank with _blank in target attribute

See merge request gitlab-org/gitlab!24575
parents 2403a2d6 b8808778
......@@ -307,7 +307,7 @@ export default {
<a
v-if="titleLink"
:href="titleLink"
target="blank"
target="_blank"
rel="noopener noreferrer"
class="js-cluster-application-title"
>{{ title }}</a
......
......@@ -285,7 +285,7 @@ export default {
ref="viewButton"
v-gl-tooltip.hover
:href="diffFile.view_path"
target="blank"
target="_blank"
class="view-file"
data-track-event="click_toggle_view_sha_button"
data-track-label="diff_toggle_view_sha_button"
......
......@@ -166,7 +166,7 @@ export const setUrlFragment = (url, fragment) => {
export function visitUrl(url, external = false) {
if (external) {
// Simulate `target="blank" rel="noopener noreferrer"`
// Simulate `target="_blank" rel="noopener noreferrer"`
// See https://mathiasbynens.github.io/rel-noopener/
const otherWindow = window.open();
otherWindow.opener = null;
......
......@@ -122,7 +122,7 @@ export default {
</template>
<template #cell(author)="{ value }">
<gl-avatar-link v-gl-tooltip target="blank" :href="value.web_url" :title="value.name">
<gl-avatar-link v-gl-tooltip target="_blank" :href="value.web_url" :title="value.name">
<gl-avatar :size="24" :src="value.avatar_url" :entity-name="value.name" />
</gl-avatar-link>
</template>
......
......@@ -116,7 +116,7 @@ export default {
<template v-else>
<div v-if="hasLegacyAppLabel" class="bs-callout bs-callout-warning mb-0 mt-0">
<span v-html="legacyLabelWarningMessage"></span>
<gl-link target="blank" :href="deployBoardsHelpPath">
<gl-link target="_blank" :href="deployBoardsHelpPath">
<strong>{{ __('More Information') }}</strong>
</gl-link>
</div>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment