搜索 bug
This commit is contained in:
parent
cfd5027396
commit
84dc880775
|
@ -655,7 +655,7 @@ var editors = {
|
|||
if (keyWord !== '') {
|
||||
keyWord = '<b>' + keyWord + '</b>';
|
||||
}
|
||||
contents += matches[j] + keyWord;
|
||||
contents += data[i].contents[0].substring(startIndex - matches[j].length, startIndex) + keyWord;
|
||||
}
|
||||
|
||||
searcHTML += '<li title="' + data[i].path + '">'
|
||||
|
|
Loading…
Reference in New Issue