v1.9.12.4

This commit is contained in:
libccy 2017-03-22 01:04:43 +08:00
parent a5b676ed6e
commit 874d3131f1
1 changed files with 8 additions and 8 deletions

View File

@ -5829,16 +5829,16 @@
game.saveConfig('touchscreen',false);
}
delete lib.ipad;
if(lib.config.extensions.length){
window.resetExtension=function(){
for(var i=0;i<lib.config.extensions.length;i++){
game.saveConfig('extension_'+lib.config.extensions[i]+'_enable',false);
}
localStorage.setItem(lib.configprefix+'disable_extension',true);
}
}
var extensionlist=[];
if(!localStorage.getItem(lib.configprefix+'disable_extension')){
if(lib.config.extensions.length){
window.resetExtension=function(){
for(var i=0;i<lib.config.extensions.length;i++){
game.saveConfig('extension_'+lib.config.extensions[i]+'_enable',false);
}
localStorage.setItem(lib.configprefix+'disable_extension',true);
}
}
for(var i=0;i<lib.config.plays.length;i++){
if(lib.config.all.plays.indexOf(lib.config.plays[i])!=-1){
extensionlist.push(lib.config.plays[i]);