X-Git-Url: http://git.euphorik.ch/?p=euphorik.git;a=blobdiff_plain;f=js%2FpageMinichat.js;fp=js%2FpageMinichat.js;h=c118c5415e72986b189e5bbafa2c363926d6418a;hp=9a88dce3508be245dad3e18c77759fefd0f8cf28;hb=a67d59e51fcca70497d1132327e14975be9383f3;hpb=ed8f28689ec85a02ee1507ae259e1fbd5517f701 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)