mirror of
git://git.proxmox.com/git/pve-docs.git
synced 2025-02-07 01:58:07 +03:00
mediawiki toc: code cleanup
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
9bdbde1f43
commit
bc49aa1606
@ -6,15 +6,11 @@
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
|
||||
var asciidoc = {
|
||||
|
||||
// toc generator
|
||||
toc: function ($content) {
|
||||
toc: function ($content) { // toc generator
|
||||
var tocholder = $content.find('#toc');
|
||||
|
||||
if (!tocholder) {
|
||||
return;
|
||||
}
|
||||
|
||||
tocholder.html('');
|
||||
tocholder.hide();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user