mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-12 00:45:47 +01:00
Fixed tabbing/spacing
This commit is contained in:
@@ -174,12 +174,12 @@ define(function() {
|
||||
gid = detailsModal.attr('data-gid');
|
||||
|
||||
socket.emit('admin.groups.get', gid, function(err, groupObj){
|
||||
if (!err){
|
||||
if (groupObj.name == 'Administrators' && uid == yourid){
|
||||
bootbox.alert('You cannot remove yourself from the Administrator Group');
|
||||
return;
|
||||
}
|
||||
bootbox.confirm('Are you sure you want to remove this user?', function(confirm) {
|
||||
if (!err){
|
||||
if (groupObj.name == 'Administrators' && uid == yourid){
|
||||
bootbox.alert('You cannot remove yourself from the Administrator Group');
|
||||
return;
|
||||
}
|
||||
bootbox.confirm('Are you sure you want to remove this user?', function(confirm) {
|
||||
if (confirm){
|
||||
socket.emit('admin.groups.leave', {
|
||||
gid: gid,
|
||||
|
||||
Reference in New Issue
Block a user