您似乎还未注册一个账号?我们强烈推荐您点击此处创建一个账户。|如果您在H萌娘上发现某些内容错误/空缺/不中立,请勇于按右上角编辑按钮!
Widget:GadgetsToc:修订间差异
跳转到导航
跳转到搜索
imported>Irukaza 无编辑摘要 |
imported>Irukaza 无编辑摘要 |
||
| 第11行: | 第11行: | ||
tocRoot.html('<div class="toctitle"><h1>' + wgULS("目录", "目錄") + '</h1></div>'); | tocRoot.html('<div class="toctitle"><h1>' + wgULS("目录", "目錄") + '</h1></div>'); | ||
const container = $("<div>").addClass("gadgetsTocContainer").appendTo(tocRoot); | const container = $("<div>").addClass("gadgetsTocContainer").appendTo(tocRoot); | ||
root.find(" | root.find("h2").each((_, ele) => { | ||
const $ele = $(ele); | const $ele = $(ele); | ||
const next = $ele.next(); | const next = $ele.next(); | ||
2022年2月21日 (一) 17:41的版本
Only for Special:小工具