diff --git a/index.html b/index.html index 92ad045..f162e3f 100644 --- a/index.html +++ b/index.html @@ -275,7 +275,7 @@ $(this).getGameboardPos().revealed = true; $(this).addClass("revealed"); - if ($(this).getGameboardPos().mine == true) { + if ($(this).getGameboardPos().mine) { //game over, or lose a life, or whatever $(this).addClass("mine"); } else {