fixed double result bug

This commit is contained in:
gocivici 2022-09-28 11:23:05 +03:00
parent 04d1594ce8
commit dbdbc3284d
2 changed files with 3 additions and 2 deletions

View File

@ -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";

View File

@ -360,6 +360,7 @@ i{
padding-bottom:10px;
width: 450px;
border-radius: 5px;
border-color: #4d4d4d;
/* display: block; */
margin-left: auto;
margin-right: auto;