remove debug code
This commit is contained in:
parent
2d34044484
commit
b4d3aa013a
|
@ -69,7 +69,7 @@ document.addEventListener("keydown", function(event) {
|
|||
if (event.key === "PageDown") {
|
||||
if (questionnum == questions.length - 1) { }
|
||||
else { questionnum = (questionnum + 1) }
|
||||
document.getElementById('question').innerText = questions[questionnum];
|
||||
document.getElementById('question').innerText = questions[questionnum];
|
||||
document.getElementById('count-down-timer').style.color = "white";
|
||||
}
|
||||
});
|
||||
|
@ -78,9 +78,8 @@ document.addEventListener("keydown", function(event) {
|
|||
if (event.key === "PageUp") {
|
||||
if (questionnum == 0) { }
|
||||
else { questionnum = (questionnum - 1) }
|
||||
document.getElementById('question').innerText = questions[questionnum];
|
||||
document.getElementById('question').innerText = questions[questionnum];
|
||||
document.getElementById('count-down-timer').style.color = "white";
|
||||
clearInterval(countInterval);
|
||||
}
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue