1/*
2 * DokuWiki Bootstrap3 Template: Plugins Hacks!
3 *
4 * Home     http://dokuwiki.org/template:bootstrap3
5 * Author   Giuseppe Di Terlizzi <giuseppe.diterlizzi@gmail.com>
6 * License  GPL 2 (http://www.gnu.org/licenses/gpl.html)
7 */
8
9// InlineTOC Plugin
10
11var $toc = jQuery('#dw__toc, #dokuwiki__toc'),  // DokuWiki TOC
12    $toc2 = jQuery('div.inlinetoc2');            // InlineTOC Plugin
13
14// InlineTOC Plugin
15if ($toc2.length && $toc.length) {
16    $toc.css('display', 'none');
17    $toc2.addClass('panel panel-default');
18}
19