LLWiki正在建设中,欢迎加入我们

“MediaWiki:Gadget-site-lib.js”的版本间差异

跳转到导航 跳转到搜索
添加106字节 、​ 2021年2月24日 (三) 06:19
debug
(debug)
menu.on('choose', function(item, selected) {
if (!selected) { return; }
console.info(item.getLabel());
console.info(options.map(function(e) { return e.text; }));
const option = options.find(function(e) { e.text == item.getLabel(); });
if (option.click) { option.click(); }
16,874

个编辑

导航菜单