This commit is contained in:
libccy 2017-02-13 00:44:59 +08:00
parent 5b57bb8ecf
commit 1eedaecd2b
2 changed files with 3 additions and 3 deletions

View File

@ -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);

View File

@ -3,7 +3,7 @@ window.noname_update={
update:'1.9.8.4',
changeLog:[
'bug修复',
'注意:可能有更多bug'
'注意:此版本可能bug较多'
],
files:[
// 'game/game.js',