From 9155ca6cf08c2e12a945e537b12f2a46345bd394 Mon Sep 17 00:00:00 2001 From: ansuz Date: Wed, 17 Mar 2021 15:21:27 +0530 Subject: [PATCH] manually set attributes on the toolbar's link to our docs --- www/common/common-ui-elements.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/www/common/common-ui-elements.js b/www/common/common-ui-elements.js index 2af85f2ec..6a6b04cfb 100644 --- a/www/common/common-ui-elements.js +++ b/www/common/common-ui-elements.js @@ -1107,7 +1107,11 @@ define([ } var content = setHTML(h('p'), Messages.help.generic.more); - $(content).find('a').attr('href', href); + $(content).find('a').attr({ + href: href, + target: '_blank', + rel: 'noopener noreferrer', + }); var text = h('p.cp-help-text', [ content