MediaWiki:Common.js: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
/* Any JavaScript here will be loaded for all users on every page load. */ | /* Any JavaScript here will be loaded for all users on every page load. */ | ||
/* Forçar links de "Buy Now" a abrir em novo separador */ | |||
$(document).ready(function() { | |||
$('.button-buy-now a').attr('target', '_blank').attr('rel', 'noopener'); | |||
}); | |||