FIX petit bug concernant l'affichage des smiles
authorGreg Burri <greg.burri@gmail.com>
Sun, 4 May 2008 20:55:26 +0000 (20:55 +0000)
committerGreg Burri <greg.burri@gmail.com>
Sun, 4 May 2008 20:55:26 +0000 (20:55 +0000)
css/1/pageMinichat.css
js/pageMinichat.js

index 208584b..fac422e 100755 (executable)
@@ -10,7 +10,7 @@
        border-style: solid;
        margin-bottom: 10px;
        padding: 1px;
-       width: 100px;
+       width: 140px;
        background-color: #0c2003;
        position: absolute;
        display: none
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)