Ajout d’une traduction de fonction oubliée.

This commit is contained in:
Valentin Lorentz
2015-12-09 13:03:33 +01:00
parent f26a70b65a
commit 7c380aa509
2 changed files with 2 additions and 1 deletions

1
fr.js
View File

@@ -18,6 +18,7 @@ document.localisation = document.location;
document.localisation.protocole = document.localisation.protocole;
jQuery.fn.extend({
clic: function (x) { return this.click(x); },
enfants: function () { return this.children(); },
dernier: function () { return this.last(); },
ajouter: function (x) { return this.append(x); }

View File

@@ -13,7 +13,7 @@
$( function() {
$.recupererJSON( "traductions.json", function( traductions ) {
construitListe(traductions);
$( "#lienChange" ).click( function() {changeDeSens(traductions);} );
$( "#lienChange" ).clic( function() {changeDeSens(traductions);} );
});
});
</script>