修复懒人包初次导入设置的问题

This commit is contained in:
shijian 2023-09-05 15:03:10 +08:00
parent 9a0c1ca6c7
commit 348d10bb93
1 changed files with 4 additions and 4 deletions

View File

@ -40319,7 +40319,7 @@
var page=ui.create.div(''); var page=ui.create.div('');
var node=ui.create.div('.menubutton.large',info.name,position,clickMode); var node=ui.create.div('.menubutton.large',info.name,position,clickMode);
node.mode=mode; node.mode=mode;
node._initLink=function(){ //node._initLink=function(){
node.link=page; node.link=page;
var map={}; var map={};
if(info.config){ if(info.config){
@ -40706,7 +40706,7 @@
info.config.update(config,map); info.config.update(config,map);
} }
} }
}; //};
return node; return node;
}; };
@ -42419,7 +42419,7 @@
node.classList.add('smallfont'); node.classList.add('smallfont');
} }
node.mode=mode; node.mode=mode;
node._initLink=function(){ //node._initLink=function(){
node.link=page; node.link=page;
for(var i in lib.extensionMenu[mode]){ for(var i in lib.extensionMenu[mode]){
if(i=='game') continue; if(i=='game') continue;
@ -42454,7 +42454,7 @@
} }
page.appendChild(cfgnode); page.appendChild(cfgnode);
} }
}; //};
return node; return node;
}; };
for(var i in lib.extensionMenu){ for(var i in lib.extensionMenu){