mirror of
https://github.com/wassname/Clover-Edition.git
synced 2026-09-09 11:13:26 +08:00
more changes
This commit is contained in:
+2
-3
@@ -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,"<br/>"))
|
||||
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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user