ADD le slap
[euphorik.git] / js / pageMinichat.js
index 792caf9..6b7b340 100755 (executable)
@@ -548,6 +548,12 @@ Conversation.prototype.flush = function(funClickOuvrirConv)
                   var offset = element.offset()
                   var outils = $("#outilsBan").css("top", offset.top - 2).css("left", offset.left - 2).height(h < 16 ? 16 : h).width(element.width() + 16 * 3 + 4).show()
                   $("img", outils).unbind()
+                  $("#slap", outils).click(
+                     function(e)
+                     {
+                        thisConversation.client.slap(userId)
+                     }
+                  )
                   $("#kick", outils).click(
                      function(e)
                      {