MediaWiki:Common.js:修订间差异
imported>=海豚= [InPageEdit] 没有编辑摘要 (编辑自Special:Diff/40650) |
imported>=海豚= [InPageEdit] 没有编辑摘要 |
||
| 第106行: | 第106行: | ||
$(".mw-spcontent > p:nth-child(1), .mw-spcontent > p:nth-child(2), .mw-spcontent > p:nth-child(7)").hide(); | $(".mw-spcontent > p:nth-child(1), .mw-spcontent > p:nth-child(2), .mw-spcontent > p:nth-child(7)").hide(); | ||
} | } | ||
// 添加浮动目录 | |||
$(function(){ | |||
var toc = $('#toc'); | |||
if (!toc.hasClass('toc-custom-disable')) { | |||
var tocAfter = toc.clone().addClass('toc-custom'); | |||
toc.after( tocAfter ); | |||
btn.css("right", "20px"); | |||
} | |||
}); | |||
//编辑请求 | //编辑请求 | ||
function editRequest() { | function editRequest() { | ||