From b1478ad5dafd7fabbd8f9d218322cad9e84d1fcf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bar=C4=B1=C5=9F=20Soner=20U=C5=9Fakl=C4=B1?= Date: Thu, 19 Mar 2015 15:04:51 -0400 Subject: [PATCH] dont add events multiple timest to #content --- public/src/client/topic/postTools.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/src/client/topic/postTools.js b/public/src/client/topic/postTools.js index 260433d808..a54f3f894f 100644 --- a/public/src/client/topic/postTools.js +++ b/public/src/client/topic/postTools.js @@ -126,7 +126,7 @@ define('forum/topic/postTools', ['composer', 'share', 'navigator'], function(com openChat($(this)); }); - $('#content').on('click', '[component="topic/reply"]', function() { + components.get('topic/reply').on('click', function() { if (!threadState.locked) { onReplyClicked($(this), tid, topicName); }