parent
d572a45a57
commit
b1090ce834
1 changed files with 1 additions and 1 deletions
|
@ -5,6 +5,6 @@
|
||||||
angular.module('quay').directive('ngSafenewtab', function () {
|
angular.module('quay').directive('ngSafenewtab', function () {
|
||||||
return function (scope, element, attr) {
|
return function (scope, element, attr) {
|
||||||
element.attr('target', '_blank');
|
element.attr('target', '_blank');
|
||||||
element.attr('rel', 'noopener');
|
element.attr('rel', 'noopener noreferrer');
|
||||||
};
|
};
|
||||||
});
|
});
|
Reference in a new issue