summaryrefslogtreecommitdiff
path: root/index.html
diff options
context:
space:
mode:
authorKyle Gunger <corechg@gmail.com>2018-09-22 20:12:18 -0400
committerKyle Gunger <corechg@gmail.com>2018-09-22 20:12:18 -0400
commit2eefd5dab8b9252afe7ddaccf2af33b70e353cfc (patch)
treef48659f6908cbaa78fe0df7965b1d2c87fb72206 /index.html
parent564d33ac255212d83e09850e5e479a2844862202 (diff)
Changed visuals
~ Tweaked visual colors for better perception + When the "Mines" value is changed, the "Difficulty" selector goes to the "Custom" value
Diffstat (limited to 'index.html')
-rw-r--r--index.html4
1 files changed, 4 insertions, 0 deletions
diff --git a/index.html b/index.html
index 1ceeedb..5af805a 100644
--- a/index.html
+++ b/index.html
@@ -41,6 +41,10 @@
var mIn = document.getElementById("m");
var dIn = document.getElementById("d");
var game = new Board();
+
+ mIn.addEventListener("change", function(){
+ if(dIn.value !== "0") dIn.value = "0";
+ });
</script>
</body>
</html> \ No newline at end of file