diff --git a/game/game.js b/game/game.js index 3d38e34fc..7ae583729 100644 --- a/game/game.js +++ b/game/game.js @@ -331,7 +331,7 @@ unfrequent:true, }, update:function(config,map){ - if(document.hasOwnProperty('ontouchstart')){ + if('ontouchstart' in document){ map.touchscreen.show(); } else{ @@ -4408,7 +4408,7 @@ delete window.music; delete window.font; - if(document.hasOwnProperty('ontouchstart')){ + if('ontouchstart' in document){ if(!lib.config.totouched){ game.saveConfig('totouched',true); game.saveConfig('touchscreen',true); diff --git a/game/update.js b/game/update.js index 9cde016c8..fedb70594 100644 --- a/game/update.js +++ b/game/update.js @@ -3,7 +3,7 @@ window.noname_update={ update:'1.9.8.4', changeLog:[ 'bug修复', - '注意:可能有更多bug' + '注意:此版本可能bug较多' ], files:[ // 'game/game.js',