- var outils = jQuery("#outilsBan").css("top", offset.top - 2).css("left", offset.left - 2).height(h < 16 ? 16 : h).width(element.width() + 16 * 3 + 4).show()
- jQuery("img", outils).unbind()
- jQuery("#kick", outils).click(
+ var outils = $("#outilsBan").css("top", offset.top - 2).css("left", offset.left - 2).height(h < 16 ? 16 : h).width(element.width() + 16 * 3 + 4 + 64).show()
+ $("img", outils).unbind()
+ $("#slap", outils).click(
+ function(e)
+ {
+ thisConversation.client.slap(userId, $("#outilsBan input").val())
+ $("#outilsBan input").val("")
+ }
+ )
+ $("#kick", outils).click(