修复懒加载菜单默认为身份模式的bug
This commit is contained in:
parent
85d578610f
commit
9d61025278
|
@ -39853,10 +39853,8 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
if(connectMenu) menuUpdates.push(updateConnectDisplayMap);
|
|
||||||
node._initLink=function(){
|
|
||||||
node.link=page;
|
|
||||||
if(connectMenu){
|
if(connectMenu){
|
||||||
|
menuUpdates.push(updateConnectDisplayMap);
|
||||||
if(mode==lib.config.connect_mode){
|
if(mode==lib.config.connect_mode){
|
||||||
node.classList.add('active');
|
node.classList.add('active');
|
||||||
}
|
}
|
||||||
|
@ -39866,6 +39864,8 @@
|
||||||
node.classList.add('active');
|
node.classList.add('active');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
node._initLink=function(){
|
||||||
|
node.link=page;
|
||||||
//“更多”下的内容
|
//“更多”下的内容
|
||||||
var map={};
|
var map={};
|
||||||
var infoconfig=connectMenu?info.connect:info.config;
|
var infoconfig=connectMenu?info.connect:info.config;
|
||||||
|
@ -40578,9 +40578,9 @@
|
||||||
if(!game.download&&!lib.device) return;
|
if(!game.download&&!lib.device) return;
|
||||||
var page=ui.create.div('#create-extension');
|
var page=ui.create.div('#create-extension');
|
||||||
var node=ui.create.div('.menubutton.large','文件',start.firstChild,clickMode);
|
var node=ui.create.div('.menubutton.large','文件',start.firstChild,clickMode);
|
||||||
|
node.mode='create';
|
||||||
node._initLink=function(){
|
node._initLink=function(){
|
||||||
node.link=page;
|
node.link=page;
|
||||||
node.mode='create';
|
|
||||||
var pageboard=ui.create.div(page);
|
var pageboard=ui.create.div(page);
|
||||||
|
|
||||||
var importextensionexpanded=false;
|
var importextensionexpanded=false;
|
||||||
|
|
Loading…
Reference in New Issue