5
0
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:
Thomas Lamprecht 2021-05-28 14:18:30 +02:00
parent 9bdbde1f43
commit bc49aa1606

View File

@ -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();