dokuwiki-template-bootstrap3
dokuwiki-template-bootstrap3 copied to clipboard
Extlist plugin conflict when using navbar in header
Description
Plugin Extlist removes the classes nav navbar-nav
from the navbar ul breaking the horizontal flow and turning it into a vertical bulleted list.
Steps to reproduce
- Use navbar hook in bootstrap3 tpl
- Install extlist
Versions
- [Bootstrap3 Template] latest
- [DokuWiki] latest
- [Plugins] extlist
Screenshots or Logs
Sample page or snippet
Solution
/path/to/dokuwiki/lib/tpl/bootstrap3/js/plugins/extlist.js
// Extlist Plugin: fix changes class in header
if (jQuery("#dw__navbar ul.extlist").length){
jQuery("#dw__navbar ul.extlist").removeClass('extlist').addClass('nav navbar-nav');
}