Add noreferrer to ng-safenewtab

Fixes #1411
This commit is contained in:
Joseph Schorr 2016-05-05 14:00:17 -04:00
parent d572a45a57
commit b1090ce834

View file

@ -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');
};
});