Yuki Takei 6 лет назад
Родитель
Сommit
dea92305a4
1 измененных файлов с 8 добавлено и 6 удалено
  1. 8 6
      src/client/js/components/TableOfContents.jsx

+ 8 - 6
src/client/js/components/TableOfContents.jsx

@@ -80,14 +80,16 @@ class TableOfContents extends React.Component {
     const tocContentHeight = tocContentElem.getBoundingClientRect().height + 15; // add margin
     const tocContentHeight = tocContentElem.getBoundingClientRect().height + 15; // add margin
 
 
     if (viewHeight < tocContentHeight) {
     if (viewHeight < tocContentHeight) {
-      $('#revision-toc-content').slimScroll({
-        railVisible: true,
-        position: 'right',
-        height: viewHeight,
-      });
+      // FIXME: GW-1345
+      // $('#revision-toc-content').slimScroll({
+      //   railVisible: true,
+      //   position: 'right',
+      //   height: viewHeight,
+      // });
     }
     }
     else {
     else {
-      $('#revision-toc-content').slimScroll({ destroy: true });
+      // FIXME: GW-1345
+      // $('#revision-toc-content').slimScroll({ destroy: true });
     }
     }
   }
   }