MediaWiki:Common.js: Difference between revisions
No edit summary |
No edit summary |
||
| (One intermediate revision by the same user not shown) | |||
| Line 4: | Line 4: | ||
link.setAttribute('target', '_blank'); | link.setAttribute('target', '_blank'); | ||
}); | }); | ||
document.querySelectorAll('.sol-newtab area').forEach(link => { | |||
link.setAttribute('target', '_blank'); | |||
}); | |||