Merge pull request #1442 from coreos-inc/noreferrer
Add noreferrer to ng-safenewtab
This commit is contained in:
commit
18af7806bc
1 changed files with 1 additions and 1 deletions
|
@ -5,6 +5,6 @@
|
|||
angular.module('quay').directive('ngSafenewtab', function () {
|
||||
return function (scope, element, attr) {
|
||||
element.attr('target', '_blank');
|
||||
element.attr('rel', 'noopener');
|
||||
element.attr('rel', 'noopener noreferrer');
|
||||
};
|
||||
});
|
Reference in a new issue