Skip to content

Commit

Permalink
Fixed inlinetoc plugin visibility (thanks to @baxQ on #115)
Browse files Browse the repository at this point in the history
  • Loading branch information
giterlizzi committed Aug 8, 2016
1 parent 863bc60 commit d2af927
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/plugins/inlinetoc.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@

// InlineTOC Plugin

var $toc = jQuery('#dw__toc'), // DokuWiki TOC
$toc2 = jQuery('div.inlinetoc2'); // InlineTOC Plugin
var $toc = jQuery('#dw__toc, #dokuwiki_toc'), // DokuWiki TOC
$toc2 = jQuery('div.inlinetoc2'); // InlineTOC Plugin

// InlineTOC Plugin
if ($toc2.length && $toc.length) {
Expand Down

0 comments on commit d2af927

Please sign in to comment.