fixed double result bug
This commit is contained in:
parent
04d1594ce8
commit
dbdbc3284d
4
main.js
4
main.js
@ -50,7 +50,7 @@ function revealButtons(g = guessNo){
|
||||
var movies = [["The Texas Chainsaw Massacre",1,"Sally Hardesty"],["It Follows",2,"Jaime Height"],["Friday the 13th",0,"Alice Hardy"],["Event Horizon",2,"Lieutenant Starck"],["Hellraiser",2,"Kirsty Cotton"],["A Nightmare on Elm Street",1,"Nancy Thompson"],["The Cabin in the Woods",2],["American Psycho",0]];
|
||||
var pix = [];
|
||||
// autocomplete(document.getElementById("guess"), movies);
|
||||
var gameBeginning = new Date('September 23, 2022 00:00:00');
|
||||
var gameBeginning = new Date('September 24, 2022 00:00:00');
|
||||
var countDownTime = new Date();
|
||||
var present_date = new Date();
|
||||
|
||||
@ -135,7 +135,7 @@ function clearGuess() {
|
||||
localStorage.removeItem('winningGuess');
|
||||
localStorage.removeItem('movieName');
|
||||
localStorage.removeItem("playedToday");
|
||||
// localStorage.removeItem('result');
|
||||
localStorage.removeItem('result');
|
||||
document.getElementById("firstGuess").style.display = "none";
|
||||
document.getElementById("secondGuess").style.display = "none";
|
||||
document.getElementById("shareResult").style.display = "none";
|
||||
|
Loading…
Reference in New Issue
Block a user