mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-16 02:36:16 +01:00
only sort rooms inside room list
This commit is contained in:
@@ -102,6 +102,7 @@ define('forum/chats', [
|
|||||||
const publicRoomList = $('[component="chat/public"]');
|
const publicRoomList = $('[component="chat/public"]');
|
||||||
publicRoomList.sortable({
|
publicRoomList.sortable({
|
||||||
handle: '[component="chat/public/room/sort/handle"]',
|
handle: '[component="chat/public/room/sort/handle"]',
|
||||||
|
items: '[component="chat/public/room"]',
|
||||||
axis: 'y',
|
axis: 'y',
|
||||||
update: async function () {
|
update: async function () {
|
||||||
const data = { roomIds: [], scores: [] };
|
const data = { roomIds: [], scores: [] };
|
||||||
|
|||||||
Reference in New Issue
Block a user