Browse Source
Fix ESlint
Signed-off-by: Joas Schilling <coding@schilljs.com>
pull/377/head
Joas Schilling
8 years ago
No known key found for this signature in database
GPG Key ID: E166FD8976B3BAC8
1 changed files with
3 additions and
3 deletions
-
js/views/participantview.js
|
|
|
@ -176,7 +176,7 @@ |
|
|
|
error: function() { |
|
|
|
console.log('Error while promoting user to moderator'); |
|
|
|
} |
|
|
|
}) |
|
|
|
}); |
|
|
|
}, |
|
|
|
demoteFromModerator: function() { |
|
|
|
if (this.model.get('participantType') !== 2) { |
|
|
|
@ -198,7 +198,7 @@ |
|
|
|
error: function() { |
|
|
|
console.log('Error while demoting moderator'); |
|
|
|
} |
|
|
|
}) |
|
|
|
}); |
|
|
|
}, |
|
|
|
removeParticipant: function() { |
|
|
|
if (this.model.get('participantType') === 1) { |
|
|
|
@ -225,7 +225,7 @@ |
|
|
|
error: function() { |
|
|
|
console.log('Error while removing user from room'); |
|
|
|
} |
|
|
|
}) |
|
|
|
}); |
|
|
|
} |
|
|
|
}) |
|
|
|
}); |
|
|
|
|