mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-01-21 23:12:58 +01:00
prevent default redirect on switchs
This commit is contained in:
@@ -8,6 +8,7 @@ define('forum/chats/recent', ['alerts'], function (alerts) {
|
||||
require(['forum/chats'], function (Chats) {
|
||||
$('[component="chat/recent"]').on('click', '[component="chat/recent/room"]', function () {
|
||||
Chats.switchChat($(this).attr('data-roomid'));
|
||||
return false;
|
||||
});
|
||||
|
||||
$('[component="chat/recent"]').on('scroll', function () {
|
||||
|
||||
Reference in New Issue
Block a user