mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-08 06:55:46 +01:00
moved socket.on to admin index
This commit is contained in:
@@ -25,9 +25,7 @@
|
||||
|
||||
|
||||
|
||||
socket.on('api:admin.user.search', function(data) {
|
||||
console.log(data);
|
||||
});
|
||||
|
||||
|
||||
function isUserAdmin(element) {
|
||||
var parent = $(element).parents('.users-box');
|
||||
|
||||
Reference in New Issue
Block a user