This commit is contained in:
parent
7fec2b986f
commit
1f070860c9
|
|
@ -7,7 +7,7 @@ elements.change_count = {
|
|||
if (!cans) { return }
|
||||
if (cans > 2000000){alert("You have put too big of a number! This would surely crash your browser or eat up all your RAM! Element count will remain unchanged."); return}
|
||||
if (cans < 1){alert("You have either put a decimal, zero, or a negative number. Why? Element count will remain unchanged."); return}
|
||||
if (parseInt(cans) == NaN){alert("Apparently your input isnt even a number. Try again. Element count will remain unchanged."); return}
|
||||
if (isNaN(parseInt(cans))){alert("Apparently your input isnt even a number. Try again. Element count will remain unchanged."); return}
|
||||
settings.randomcount = parseInt(cans)
|
||||
saveSettings()
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in New Issue