X-Git-Url: http://git.euphorik.ch/index.cgi?a=blobdiff_plain;ds=sidebyside;f=js%2Feuphorik.js;h=4210713c8a0d1787cccf43cdc90c2e4b7d615f75;hb=934ab32cd6fac44f6b3ebedef69ce1ccd0b8701b;hp=5a15c00e3fd1952af5833e6e35da8ef984a9eb07;hpb=bfb430d094eb0021777302c1191642eab4077e78;p=euphorik.git
diff --git a/js/euphorik.js b/js/euphorik.js
index 5a15c00..4210713 100755
--- a/js/euphorik.js
+++ b/js/euphorik.js
@@ -277,7 +277,7 @@ Formateur.prototype.getSmilesHTML = function()
var XHTML = ""
for (var sNom in this.smiles)
{
- XHTML += ""
+ XHTML += ""
}
return XHTML
}
@@ -311,7 +311,7 @@ Formateur.prototype.traiterLiensConv = function(M)
/**
* FIXME : Cette méthode est attrocement lourde ! A optimiser.
- * moyenne su échantillon : 234ms
+ * moyenne sur échantillon : 234ms
*/
Formateur.prototype.traiterSmiles = function(M)
{
@@ -319,7 +319,7 @@ Formateur.prototype.traiterSmiles = function(M)
{
ss = this.smiles[sNom]
for (var i = 0; i < ss.length; i++)
- M = M.replace(ss[i], "")
+ M = M.replace(ss[i], "")
}
return M
}
@@ -939,7 +939,8 @@ $(document).ready(
initialiserListeStyles(client)
- // TODO : pourquoi $(document).unload ne fonctionne pas ?
+ // FIXME : ne fonctionne pas sous opera
+ // voir : http://dev.jquery.com/ticket/2892#preview
$(window).unload(function(){client.flush()})
$("#menu .minichat").click(function(){ pages.afficherPage("minichat") })