X-Git-Url: http://git.euphorik.ch/?p=euphorik.git;a=blobdiff_plain;f=js%2FpageMinichat.js;h=6b7b3401f786d25b2bb70184179b7aed5756d6a1;hp=792caf9d5173ab8c23c21542318830ea3befe6c5;hb=eae50232e73fca26d6f631c8177cbea649e5036e;hpb=9d95f5af441fda194444405983e4d110c2514680 diff --git a/js/pageMinichat.js b/js/pageMinichat.js index 792caf9..6b7b340 100755 --- a/js/pageMinichat.js +++ b/js/pageMinichat.js @@ -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) {