Fix search appearance
This commit is contained in:
parent
184156ed97
commit
96ef2f8ab9
2 changed files with 20 additions and 3 deletions
|
@ -1171,6 +1171,10 @@
|
|||
return h1.innerHTML;
|
||||
}
|
||||
|
||||
function pathSplitter(path) {
|
||||
return '<span>' + path.replace(/::/g, '::</span><span>');
|
||||
}
|
||||
|
||||
function addTab(array, query, display) {
|
||||
var extraStyle = '';
|
||||
if (display === false) {
|
||||
|
@ -1225,7 +1229,7 @@
|
|||
|
||||
output += '<tr class="' + type + ' result"><td>' +
|
||||
'<a href="' + href + '">' +
|
||||
displayPath + '<span class="' + type + '">' +
|
||||
pathSplitter(displayPath) + '<span class="' + type + '">' +
|
||||
name + '</span></a></td><td>' +
|
||||
'<a href="' + href + '">' +
|
||||
'<span class="desc">' + escape(item.desc) +
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue