Skip to content

Commit

Permalink
Merge pull request #1315 from arxeiss/gh-pages
Browse files Browse the repository at this point in the history
Fix rehighlighting
  • Loading branch information
mAAdhaTTah authored Mar 1, 2018
2 parents 3dddac9 + 929cc8c commit 7035d4e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion plugins/toolbar/prism-toolbar.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
}

// Autoloader rehighlights, so only do this once.
if (pre.classList.contains('code-toolbar')) {
if (pre.parentNode.classList.contains('code-toolbar')) {
return;
}

Expand Down
2 changes: 1 addition & 1 deletion plugins/toolbar/prism-toolbar.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 7035d4e

Please sign in to comment.