User:Gary/show TOC limit.js

/*	SHOW TOC LIMIT Description: Shows the table of contents' limit (with the use of ) if it is indeed limited.

function showTocLimit {	if (!$('#toc').length) return false; for (var i = 2; i <= 7; i++) {		if (!$('.toclimit-' + i).length) continue; $('#toctitle').children.eq(0).append(' (lim. to ' + i + ') '); break; } }

$(document).ready(function {	showTocLimit; });