From 7c380aa5095f5097938429981e96a3ab7508d80b Mon Sep 17 00:00:00 2001 From: Valentin Lorentz Date: Wed, 9 Dec 2015 13:03:33 +0100 Subject: [PATCH] =?UTF-8?q?Ajout=20d=E2=80=99une=20traduction=20de=20fonct?= =?UTF-8?q?ion=20oubli=C3=A9e.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- fr.js | 1 + index.html | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/fr.js b/fr.js index 8980329..6ddf219 100644 --- a/fr.js +++ b/fr.js @@ -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); } diff --git a/index.html b/index.html index 815a209..335e598 100644 --- a/index.html +++ b/index.html @@ -13,7 +13,7 @@ $( function() { $.recupererJSON( "traductions.json", function( traductions ) { construitListe(traductions); - $( "#lienChange" ).click( function() {changeDeSens(traductions);} ); + $( "#lienChange" ).clic( function() {changeDeSens(traductions);} ); }); });