Fix all target="_blank" anchors to be safer

Fixes #1411
This commit is contained in:
Joseph Schorr 2016-04-28 14:38:22 -04:00
parent 9e88b1413d
commit 54e8e72ad2
39 changed files with 76 additions and 66 deletions

View file

@ -125,7 +125,7 @@
<li ng-repeat="branchName in branchNames | limitTo:20"
class="ref-reference"
ng-class="isMatching('heads', branchName, state.branchTagFilter) ? 'match' : 'not-match'">
<span ng-click="addRef('heads', branchName)" target="_blank">
<span ng-click="addRef('heads', branchName)" ng-safenewtab>
{{ branchName }}
</span>
</li>
@ -138,7 +138,7 @@
<li ng-repeat="tagName in tagNames | limitTo:20"
class="ref-reference"
ng-class="isMatching('tags', tagName, state.branchTagFilter) ? 'match' : 'not-match'">
<span ng-click="addRef('tags', tagName)" target="_blank">
<span ng-click="addRef('tags', tagName)" ng-safenewtab>
{{ tagName }}
</span>
</li>