'formater' -> 'formatter'
[euphorik.git] / js / pageProfile.js
index c5ea5df..1a474d7 100755 (executable)
 // You should have received a copy of the GNU General Public License\r
 // along with Euphorik.  If not, see <http://www.gnu.org/licenses/>.\r
 \r
-euphorik.PageProfile = function(client, formater, util) {\r
+euphorik.PageProfile = function(client, formatter, util) {\r
    this.name = "profile";\r
 \r
    this.client = client;\r
-   this.formater = formater;\r
+   this.formatter = formatter;\r
    this.util = util;\r
 };\r
 \r
@@ -64,7 +64,7 @@ euphorik.PageProfile.prototype.chargerProfile = function() {
 \r
    $("form#profile button").click(\r
       function() {\r
-         thisPage.client.nick = thisPage.formater.formatNick($("form#profile input.nick").val());\r
+         thisPage.client.nick = thisPage.formatter.formatNick($("form#profile input.nick").val());\r
          thisPage.client.email = $("form#profile input.email").val();\r
          thisPage.client.chatOrder = $("form#profile select#chatOrder option:selected").attr("value");\r
          thisPage.client.nickFormat = $("form#profile select#affichagePseudo option:selected").attr("value");\r