yusuketk 6 лет назад
Родитель
Сommit
b781f1e5f6
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      src/client/js/components/SearchPage/SearchResult.jsx

+ 1 - 0
src/client/js/components/SearchPage/SearchResult.jsx

@@ -239,6 +239,7 @@ class SearchResult extends React.Component {
     }
 
     const listView = this.props.pages.map((page) => {
+      // Add prefix 'id_' in pageId, because scrollspy of bootstrap doesn't work when the first letter of id attr of target component is numeral.
       const pageId = `#id_${page._id}`;
       return (
         <Page