Unverified Commit c3e88e0b authored by Eric Eastwood's avatar Eric Eastwood Committed by GitHub

Merge pull request #72 from wmhilton/patch-1

use rel="noopener" on external links
parents 6ac8d080 08bc92e7
......@@ -142,6 +142,7 @@ let addActionBar = function(chat) {
popOutActionElement.setAttribute('aria-label', 'Open Chat in Gitter.im');
popOutActionElement.setAttribute('href', `${opts.host}${opts.room}`);
popOutActionElement.setAttribute('target', `_blank`);
popOutActionElement.setAttribute('rel', `noopener`);
actionBar.appendChild(popOutActionElement);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment