yusuketk %!s(int64=6) %!d(string=hai) anos
pai
achega
29049d6536
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      src/client/js/components/SearchPage/SearchResultList.jsx

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

@@ -18,6 +18,7 @@ class SearchResultList extends React.Component {
       const showTags = (page.tags != null) && (page.tags.length > 0);
 
       return (
+        // Add prefix 'id_' in id attr, because scrollspy of bootstrap doesn't work when the first letter of id of target component is numeral.
         <div id={`id_${page._id}`} key={page._id} className="search-result-page mb-5">
           <h2>
             <a href={page.path}>{page.path}</a>