搜索 bug

This commit is contained in:
Van 2015-01-04 16:37:13 +08:00
parent cfd5027396
commit 84dc880775
1 changed files with 1 additions and 1 deletions

View File

@ -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 + '">'