diff options
author | Eric Eastwood <contact@ericeastwood.com> | 2017-10-03 08:33:13 +0300 |
---|---|---|
committer | Eric Eastwood <contact@ericeastwood.com> | 2017-10-03 08:33:13 +0300 |
commit | bca86c858b361f3b5a19abcfc03972c95f4b2d2a (patch) | |
tree | cfd16b3301384e9c65492d55c7cecb566308ef05 /app/assets/javascripts/lib | |
parent | b4d95002af504488af5c5c2117175ec73192c942 (diff) |
Add test for external HTML artifact
Diffstat (limited to 'app/assets/javascripts/lib')
-rw-r--r-- | app/assets/javascripts/lib/utils/url_utility.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/lib/utils/url_utility.js b/app/assets/javascripts/lib/utils/url_utility.js index 6512f7c8a94..78c7a094127 100644 --- a/app/assets/javascripts/lib/utils/url_utility.js +++ b/app/assets/javascripts/lib/utils/url_utility.js @@ -90,7 +90,7 @@ w.gl.utils.refreshCurrentPage = () => gl.utils.visitUrl(document.location.href); // eslint-disable-next-line import/prefer-default-export export function visitUrl(url, external = false) { if (external) { - // Simulate `target="blank" ref="noopener noreferrer"` + // Simulate `target="blank" rel="noopener noreferrer"` // See https://mathiasbynens.github.io/rel-noopener/ const otherWindow = window.open(); otherWindow.opener = null; |