From a67d59e51fcca70497d1132327e14975be9383f3 Mon Sep 17 00:00:00 2001 From: Greg Burri Date: Sun, 4 May 2008 20:55:26 +0000 Subject: [PATCH] FIX petit bug concernant l'affichage des smiles --- css/1/pageMinichat.css | 2 +- js/pageMinichat.js | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) 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) -- 2.43.0