Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- document.addEventListener( 'load', () => {
- const links = document.querySelectorAll('.portfolio-link');
- Array.from( links ).map( ( l, i ) => {
- links[i].setAttribute( 'target', '_blank' );
- });
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement