X-Git-Url: http://git.euphorik.ch/?a=blobdiff_plain;f=js%2Fclient.js;h=9ea6ea0cf835dc91eac4d24aecd0bcceeebb0a46;hb=09608ab29e1c39ea51b51a5f8669dcde36efb306;hp=49f7749ceaf6f673bd918e2918ccb2261c9d79ee;hpb=dd3320de291341d6d86f79421b85d12c4764b057;p=euphorik.git diff --git a/js/client.js b/js/client.js index 49f7749..9ea6ea0 100644 --- a/js/client.js +++ b/js/client.js @@ -26,7 +26,7 @@ euphorik.Client = function(util, communication) { this.communication = communication; this.cookie = null; - this.regexCookie = /^cookie=([^;]*)/; + this.regexCookie = /cookie=([^;]*)/; // données personnels this.resetDonneesPersonnelles(); @@ -53,7 +53,7 @@ euphorik.Client.prototype.resetDonneesPersonnelles = function() { this.login = ""; this.password = ""; this.email = ""; - this.css = $("link#cssPrincipale").attr("href"); + this.css = $("link#mainCss").attr("href"); this.chatOrder = "reverse"; this.nickFormat = "nick"; this.viewTimes = true; @@ -77,7 +77,7 @@ euphorik.Client.prototype.setCss = function(css) { } this.css = css; - $("link#cssPrincipale").attr("href", this.css); + $("link#mainCss").attr("href", this.css); if (this.autoflush) { this.flush(true); } @@ -295,7 +295,7 @@ euphorik.Client.prototype.getJSONEnregistrement = function(login, password) { }; /** - * Connexion. Réalisée de manière synchrone. + * Connexion. Réalisé de manière synchrone. */ euphorik.Client.prototype.connexion = function(action, messageJson) { var thisClient = this; @@ -369,7 +369,7 @@ euphorik.Client.prototype.flush = function(async) { if (!this.authentifie()) { return false; } - + var thisClient = this; var ok = true;