Uses target=_blank

This commit is contained in:
Maël Nison 2018-11-18 15:15:29 +00:00
parent c5d8220766
commit 627eaa57f6

View file

@ -306,6 +306,7 @@
link.addEventListener( 'click', protect ); link.addEventListener( 'click', protect );
link.setAttribute( 'data-name', name ); link.setAttribute( 'data-name', name );
link.href = window.location.protocol + '//' + window.location.host + pairingPath + pairingQueryString; link.href = window.location.protocol + '//' + window.location.host + pairingPath + pairingQueryString;
link.target = '_blank';
link.innerText = link.href; link.innerText = link.href;
} }