mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-07 06:25:50 +01:00
template fixes closes #825
This commit is contained in:
@@ -522,8 +522,10 @@ define(['composer'], function(composer) {
|
||||
|
||||
|
||||
$('#post-container').on('click', '.chat', function(e) {
|
||||
var username = $(this).parents('li.row').attr('data-username');
|
||||
var touid = $(this).parents('li.row').attr('data-uid');
|
||||
var post = $(this).parents('li.post-row'),
|
||||
username = post.attr('data-username'),
|
||||
touid = post.attr('data-uid');
|
||||
|
||||
app.openChat(username, touid);
|
||||
$(this).parents('.btn-group').find('.dropdown-toggle').click();
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user