From 2eefd5dab8b9252afe7ddaccf2af33b70e353cfc Mon Sep 17 00:00:00 2001 From: Kyle Gunger Date: Sat, 22 Sep 2018 20:12:18 -0400 Subject: Changed visuals ~ Tweaked visual colors for better perception + When the "Mines" value is changed, the "Difficulty" selector goes to the "Custom" value --- index.html | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'index.html') 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"; + }); \ No newline at end of file -- cgit v1.2.3