yusuketk %!s(int64=6) %!d(string=hai) anos
pai
achega
b781f1e5f6
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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) => {
     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}`;
       const pageId = `#id_${page._id}`;
       return (
       return (
         <Page
         <Page