Diferència entre revisions de la pàgina «MediaWiki:Common.js/traductor.js»
De Català a Cort
(Creació) |
|||
| Línia 3: | Línia 3: | ||
if (jQuery("#traductor").length == 0) | if (jQuery("#traductor").length == 0) | ||
return; | return; | ||
| − | h = | + | h = 'Direcció de traducció: <input type="radio" name="direccio" id="spa-cat" value="spa-cat"><input type="radio" name="direccio" id="cat-spa" value="cat-spa">'; |
//h += "<button id=\"mostraAjuda\">Mostra ajuda</button>"; | //h += "<button id=\"mostraAjuda\">Mostra ajuda</button>"; | ||
jQuery("#traductor").html(h); | jQuery("#traductor").html(h); | ||
}()); | }()); | ||
Revisió del 10:58, 22 set 2022
/* Any JavaScript here will be loaded for all users on every page load. */
$(function () {
if (jQuery("#traductor").length == 0)
return;
h = 'Direcció de traducció: <input type="radio" name="direccio" id="spa-cat" value="spa-cat"><input type="radio" name="direccio" id="cat-spa" value="cat-spa">';
//h += "<button id=\"mostraAjuda\">Mostra ajuda</button>";
jQuery("#traductor").html(h);
}());