MOD légère optimisation
authorGreg Burri <greg.burri@gmail.com>
Sat, 31 May 2008 22:48:28 +0000 (22:48 +0000)
committerGreg Burri <greg.burri@gmail.com>
Sat, 31 May 2008 22:48:28 +0000 (22:48 +0000)
js/pageMinichat.js

index 07d5d8f..10bc999 100755 (executable)
@@ -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)