「MediaWiki:Gadget-AddBackToc.js」の版間の差分

提供: エケペディア
ナビゲーションに移動 検索に移動
Yasusushi (トーク | 投稿記録)
編集の要約なし
Yasusushi (トーク | 投稿記録)
miss
1行目: 1行目:
$(':not(#toctitle)~h2,:not(#toctitle)~h3,:not(#toctitle)~h4,:not(#toctitle)~h5,:not(#toctitle)~h6').append(' <span class="backtoc">[<a href="#toc">目次に戻る</a>]</span>');
$('#toctitle~h2,#toctitle~h3,#toctitle~h4,#toctitle~h5,#toctitle~h6').append(' <span class="backtoc">[<a href="#toc">目次に戻る</a>]</span>');

2016年4月1日 (金) 17:04時点における版

$('#toctitle~h2,#toctitle~h3,#toctitle~h4,#toctitle~h5,#toctitle~h6').append(' <span class="backtoc">[<a href="#toc">目次に戻る</a>]</span>');