From: Greg Burri Date: Sun, 4 May 2008 20:55:26 +0000 (+0000) Subject: FIX petit bug concernant l'affichage des smiles X-Git-Tag: 1.0.0^2~114 X-Git-Url: https://git.euphorik.ch/?a=commitdiff_plain;h=a67d59e51fcca70497d1132327e14975be9383f3;p=euphorik.git FIX petit bug concernant l'affichage des smiles --- diff --git a/css/1/pageMinichat.css b/css/1/pageMinichat.css index 208584b..fac422e 100755 --- a/css/1/pageMinichat.css +++ b/css/1/pageMinichat.css @@ -10,7 +10,7 @@ border-style: solid; margin-bottom: 10px; padding: 1px; - width: 100px; + width: 140px; background-color: #0c2003; position: absolute; display: none diff --git a/js/pageMinichat.js b/js/pageMinichat.js index 9a88dce..c118c54 100755 --- a/js/pageMinichat.js +++ b/js/pageMinichat.js @@ -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)