Fix document navigation error after using search.

This commit is contained in:
shalousun 2021-11-17 22:31:55 +08:00
parent 8d1dace67e
commit d9a630658d
1 changed files with 1 additions and 1 deletions

View File

@ -135,7 +135,7 @@ function buildAccordion(apiGroups, liClass, display) {
} else {
spanString='<span>';
}
html += '<li><a href="#_' + apiData[j].order + '_' + doc[m].order + '_' + doc[m].href + '">' + apiData[j].order + '.' + doc[m].order + '.&nbsp;' + spanString + doc[m].desc + '<span></a> </li>';
html += '<li><a href="#_1_' + apiData[j].order + '_' + doc[m].order + '_' + doc[m].desc + '">' + apiData[j].order + '.' + doc[m].order + '.&nbsp;' + spanString + doc[m].desc + '<span></a> </li>';
}
html += '</ul>';
html += '</li>';