We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
motion
1 parent 619c49e commit 9ce276fCopy full SHA for 9ce276f
source/js/src/post-details.js
@@ -147,7 +147,7 @@ $(document).ready(function () {
147
CONFIG.sidebar.display === 'always';
148
var hasTOC = $tocContent.length > 0 && $tocContent.html().trim().length > 0;
149
if (isSidebarCouldDisplay && hasTOC) {
150
- CONFIG.motion ?
+ CONFIG.motion.enable ?
151
(NexT.motion.middleWares.sidebar = function () {
152
NexT.utils.displaySidebar();
153
}) : NexT.utils.displaySidebar();
0 commit comments