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// Wrap Plugin
10
11var $wrap = jQuery('.plugin_wrap');
12
13if ($wrap.length) {
14
15    if ($wrap.hasClass('tabs')) {
16        var $tabs = jQuery('.plugin_wrap.tabs');
17        $tabs.find('div.li').contents().unwrap();
18        $tabs.find('.curid').parent().addClass('active');
19        $tabs.find('ul').addClass('nav nav-tabs');
20    }
21
22}
23