From 509554ec4e452f349d66754b2cd75fedfd3d78e1 Mon Sep 17 00:00:00 2001 From: Greg Burri Date: Sat, 31 May 2008 22:48:28 +0000 Subject: [PATCH] =?utf8?q?MOD=20l=C3=A9g=C3=A8re=20optimisation?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- js/pageMinichat.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.45.2