Update life.js

This commit is contained in:
Kyle
2019-08-16 18:26:05 -07:00
parent c206c0422d
commit cbebeb69ff

View File

@@ -175,7 +175,7 @@ function inputCardArtNameNumber(cardArtNameNumberInput) {
// setTimeout(function(){drawPlayerBox(parseInt(document.getElementById("inputPlayer").value))}, 500) // setTimeout(function(){drawPlayerBox(parseInt(document.getElementById("inputPlayer").value))}, 500)
} }
document.getElementById("mainGrid").addEventListener("touchmove", function(event) { document.getElementById("mainGrid").addEventListener("touchmove", function(event) {
event.preventDefault() // event.preventDefault()
}, false) }, false)
function rollRNG() { function rollRNG() {
document.getElementById("rngOutput").innerHTML = Math.floor(Math.random() * (parseInt(document.getElementById("inputRNGMax").value) - parseInt(document.getElementById("inputRNGMin").value) + 1) + parseInt(document.getElementById("inputRNGMin").value)) document.getElementById("rngOutput").innerHTML = Math.floor(Math.random() * (parseInt(document.getElementById("inputRNGMax").value) - parseInt(document.getElementById("inputRNGMin").value) + 1) + parseInt(document.getElementById("inputRNGMin").value))