summaryrefslogtreecommitdiff
path: root/mines.js
diff options
context:
space:
mode:
Diffstat (limited to 'mines.js')
-rw-r--r--mines.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/mines.js b/mines.js
index beae4d8..872bf51 100644
--- a/mines.js
+++ b/mines.js
@@ -189,6 +189,8 @@ Board.prototype = {
let n = this.numAround(x, y);
let e = this.getMineEl(x, y);
+ if(e.textContent == "!") return;
+
e.className = "chkd";
if(n !== 0){