From fb4ab85fc4ab569ab094cf74c06928eeaf5232cc Mon Sep 17 00:00:00 2001 From: Nick Date: Wed, 10 Apr 2019 21:10:43 -0600 Subject: [PATCH] more changes --- static/script.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/static/script.js b/static/script.js index bdb7ec9..9bc374f 100644 --- a/static/script.js +++ b/static/script.js @@ -13,7 +13,7 @@ var should_blink = false var blinkCounter = 0 var action_list = ["You attack", "You tell", "You use", "You go"] var prompt_num = 0 -var seed_max = 100 +var seed_max = 1000 var seed_min = 0 var seed = Math.floor(Math.random() * (+seed_max - +seed_min)) + +seed_min; //var seed = 108 @@ -193,7 +193,6 @@ var Typer={ var rtn= new RegExp("\n", "g") $("#console").html(text.replace(rtn,"
")) - window.scrollBy(0,50) } else{ typing = false @@ -241,7 +240,7 @@ function typeWords() { document.onkeypress = function(evt) { - if(acceptInput){ + if(acceptInput && !isMobileDevice()){ evt = evt || window.event var charCode = evt.keyCode || evt.which