FIX petit bug concernant l'affichage des smiles
[euphorik.git] / js / pageMinichat.js
index 9a88dce..c118c54 100755 (executable)
@@ -105,7 +105,7 @@ PageMinichat.prototype.charger = function()
          jQuery("form input.message")[0].focus()
       }
       
-   jQuery("form input.message").keypress(
+   jQuery("form").keypress(
       function(e)
       {
          if (e.which == 13) // return
@@ -132,6 +132,8 @@ PageMinichat.prototype.decharger = function()
 {
    //alert(this.attenteCourante)
    this.messages.stopAttenteCourante()
+   
+   jQuery("body #smiles").remove()
 }
 
 PageMinichat.prototype.getJSONMessage = function(pseudo, message, repondA)