MOD replace 'formateur' by 'formater'
[euphorik.git] / js / client.js
index e01be9e..9ea6ea0 100644 (file)
   */\r
 euphorik.Client = function(util, communication) {\r
    this.util = util;\r
-   this.communication = communication\r
+   this.communication = communication;\r
    \r
    this.cookie = null;\r
-   this.regexCookie = /^cookie=([^;]*)/;\r
+   this.regexCookie = /cookie=([^;]*)/;\r
    \r
    // données personnels\r
    this.resetDonneesPersonnelles();\r
@@ -53,7 +53,7 @@ euphorik.Client.prototype.resetDonneesPersonnelles = function() {
    this.login = "";\r
    this.password = "";\r
    this.email = "";\r
-   this.css = $("link#cssPrincipale").attr("href");\r
+   this.css = $("link#mainCss").attr("href");\r
    this.chatOrder = "reverse";\r
    this.nickFormat = "nick";\r
    this.viewTimes = true;\r
@@ -77,7 +77,7 @@ euphorik.Client.prototype.setCss = function(css) {
    }\r
 \r
    this.css = css;\r
-   $("link#cssPrincipale").attr("href", this.css);\r
+   $("link#mainCss").attr("href", this.css);\r
    if (this.autoflush) {\r
       this.flush(true);\r
    }\r
@@ -295,7 +295,7 @@ euphorik.Client.prototype.getJSONEnregistrement = function(login, password) {
 };\r
 \r
 /**\r
-  * Connexion. Réalisée de manière synchrone.\r
+  * Connexion. Réalisé de manière synchrone.\r
   */\r
 euphorik.Client.prototype.connexion = function(action, messageJson) {\r
    var thisClient = this;\r
@@ -369,7 +369,7 @@ euphorik.Client.prototype.flush = function(async) {
    if (!this.authentifie()) {\r
       return false;\r
    }\r
-\r
+   \r
    var thisClient = this;\r
    var ok = true;\r
    \r