修复初始化时因懒加载不加载内置扩展的bug

This commit is contained in:
lieren2023 2023-09-19 18:51:33 +08:00 committed by GitHub
parent 4ef8c89f3a
commit b82504c5b4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -43495,7 +43495,7 @@
node.classList.add('smallfont');
}
node.mode=mode;
node._initLink=function(){
// node._initLink=function(){
node.link=page;
for(var i in lib.extensionMenu[mode]){
if(i=='game') continue;
@ -43530,8 +43530,8 @@
}
page.appendChild(cfgnode);
}
};
if(!get.config('menu_loadondemand')) node._initLink();
// };
// if(!get.config('menu_loadondemand')) node._initLink();
return node;
};
for(var i in lib.extensionMenu){