Skip to content

Commit

Permalink
FIX: sidebar with motion on Mist & Muse schemes.
Browse files Browse the repository at this point in the history
  • Loading branch information
ivan-nginx committed Sep 23, 2017
1 parent 619c49e commit 9ce276f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/js/src/post-details.js
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ $(document).ready(function () {
CONFIG.sidebar.display === 'always';
var hasTOC = $tocContent.length > 0 && $tocContent.html().trim().length > 0;
if (isSidebarCouldDisplay && hasTOC) {
CONFIG.motion ?
CONFIG.motion.enable ?
(NexT.motion.middleWares.sidebar = function () {
NexT.utils.displaySidebar();
}) : NexT.utils.displaySidebar();
Expand Down

0 comments on commit 9ce276f

Please sign in to comment.