Browse Source

Fix ESlint

Signed-off-by: Joas Schilling <coding@schilljs.com>
pull/377/head
Joas Schilling 8 years ago
parent
commit
1ffa4e0d6d
No known key found for this signature in database GPG Key ID: E166FD8976B3BAC8
  1. 6
      js/views/participantview.js

6
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');
}
})
});
}
})
});

Loading…
Cancel
Save