User:Canadabonk/common.js: Difference between revisions
Content deleted Content added
Canadabonk (talk | contribs) No edit summary |
Canadabonk (talk | contribs) No edit summary |
||
Line 40: | Line 40: | ||
// siderail toc |
// siderail toc |
||
const railtoc = $('.ct-railtoc'); |
const railtoc = $('.ct-railtoc'); |
||
$('# |
$('#CosmosRail').find('ul').first().wrap('<section class="module ct-railtoc"></section>'); |
||
railtoc.prepend('<div><h3>Contents</h3><span class="ct-toc-move">Move to sidetools</span></div>'); |
railtoc.prepend('<div><h3>Contents</h3><span class="ct-toc-move">Move to sidetools</span></div>'); |
||