diff options
author | Kyle Gunger <corechg@gmail.com> | 2018-09-22 20:12:18 -0400 |
---|---|---|
committer | Kyle Gunger <corechg@gmail.com> | 2018-09-22 20:12:18 -0400 |
commit | 2eefd5dab8b9252afe7ddaccf2af33b70e353cfc (patch) | |
tree | f48659f6908cbaa78fe0df7965b1d2c87fb72206 /index.html | |
parent | 564d33ac255212d83e09850e5e479a2844862202 (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.html | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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 |