added objection button and some new buzzers
This commit is contained in:
@@ -43,4 +43,14 @@ function selectBuzzer(buzzerId) {
|
||||
$("#buzzer").attr("src", buzzerId+".png" );
|
||||
buzzerSound.play();
|
||||
return buzzerSound;
|
||||
}
|
||||
|
||||
let objectionSound = new Audio("AAObjection.wav");
|
||||
function objectionToClient(userName) {
|
||||
objectionSound.play();
|
||||
$("#objection").html("<img src='AAObjection.gif?"+Math.random()+"'><br>"+userName+" is objecting!<br>");
|
||||
}
|
||||
|
||||
function clearObjectionToClient() {
|
||||
$("#objection").html("");
|
||||
}
|
||||
Reference in New Issue
Block a user