1
0
mirror of https://github.com/dani/vroom.git synced 2024-06-28 01:39:29 +02:00

Remove focus on some buttons

This commit is contained in:
Daniel Berteaud 2015-01-20 17:29:08 +01:00
parent 138bb5a5dd
commit b93e93326f

View File

@ -1714,6 +1714,7 @@ function initVroom(room) {
else{
$('#lockLabel').removeClass('btn-danger active');
}
$('#lockLabel').removeClass('focus');
webrtc.sendToAll('room_lock', {action: action});
}
else{
@ -1748,8 +1749,10 @@ function initVroom(room) {
$('#askForNameLabel').addClass('btn-danger active');
}
else{
$('#askForNameLabel').removeClass('btn-danger active');
$('#askForNameLabel').removeClass('btn-danger active focus');
}
// In any case, remove the focus
$('#askForNameLabel').removeClass('focus');
webrtc.sendToAll('ask_for_name', {action: set});
}
else{