X-Git-Url: http://git.euphorik.ch/?p=euphorik.git;a=blobdiff_plain;f=js%2FpageMinichat.js;h=10bc99905efff1c34b2638cfe3b9e2002b093ded;hp=07d5d8fd83f9b81b6264674cbdf2632d1f148c05;hb=509554ec4e452f349d66754b2cd75fedfd3d78e1;hpb=cd316c6f623d315001c6f685f1f3355c0ea743d8 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)