dont add events multiple timest to #content

This commit is contained in:
Barış Soner Uşaklı
2015-03-19 15:04:51 -04:00
parent 82f7ca5e0f
commit b1478ad5da

View File

@@ -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);
}