From: Greg Burri Date: Sat, 31 May 2008 22:48:28 +0000 (+0000) Subject: MOD légère optimisation X-Git-Tag: 1.0.0^2~4 X-Git-Url: http://git.euphorik.ch/index.cgi?a=commitdiff_plain;h=509554ec4e452f349d66754b2cd75fedfd3d78e1;p=euphorik.git MOD légère optimisation --- diff --git a/js/pageMinichat.js b/js/pageMinichat.js index 07d5d8f..10bc999 100755 --- a/js/pageMinichat.js +++ b/js/pageMinichat.js @@ -618,7 +618,7 @@ Conversation.prototype.flush = function(funClickOuvrirConv) $(this).click( function(event) { - if ($(event.target).is("a") || $(event.target).parents().is("#outilsBan")) return + if ($(event.target).is("a") || $(event.target).parents("#outilsBan").length > 0) return // l'id du message var idMess = $(this).attr("id").substr(4)