Commit 6a72d467 authored by Jacob Schatz's avatar Jacob Schatz

Add rel="noopener noreferrer"

parent b8d9b2a2
...@@ -29,7 +29,7 @@ export default RepoFileButtons; ...@@ -29,7 +29,7 @@ export default RepoFileButtons;
<template> <template>
<div id="repo-file-buttons" v-if="isMini"> <div id="repo-file-buttons" v-if="isMini">
<a :href="activeFile.raw_path" target="_blank" class="btn btn-default raw">{{rawDownloadButtonLabel}}</a> <a :href="activeFile.raw_path" target="_blank" class="btn btn-default raw" rel="noopener noreferrer">{{rawDownloadButtonLabel}}</a>
<div class="btn-group" role="group" aria-label="File actions"> <div class="btn-group" role="group" aria-label="File actions">
<a :href="activeFile.blame_path" class="btn btn-default blame">Blame</a> <a :href="activeFile.blame_path" class="btn btn-default blame">Blame</a>
......
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