Skip to content

Commit 9ce276f

Browse files
authored
FIX: sidebar with motion on Mist & Muse schemes.
1 parent 619c49e commit 9ce276f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/js/src/post-details.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ $(document).ready(function () {
147147
CONFIG.sidebar.display === 'always';
148148
var hasTOC = $tocContent.length > 0 && $tocContent.html().trim().length > 0;
149149
if (isSidebarCouldDisplay && hasTOC) {
150-
CONFIG.motion ?
150+
CONFIG.motion.enable ?
151151
(NexT.motion.middleWares.sidebar = function () {
152152
NexT.utils.displaySidebar();
153153
}) : NexT.utils.displaySidebar();

0 commit comments

Comments
 (0)