Hi Robert,
thank you : )
However, I couldn't find your exact codes in the Search/Widget.js
These are the closet codes I found. May I ask where to insert those 2 lines?
Best,
Wilson
_onSelectResult: function(b) {
var c = b.result;
if (c && c.name) {
var h = b.sourceIndex;
b = this.searchResults;
for (var m = 0, r = 0, t = b.length; r < t; r++)
if (l.isEqual(b, c)) {
m = r;
break
}
p("li", this.searchResultsNode).forEach(n.hitch(this, function(b) {
q.removeClass(b, "result-item-selected");
var l = q.getAttr(b, "title"),
n = q.getAttr(b, "data-index"),
p = q.getAttr(b, "data-source-index");
l === c.name && (n === m.toString() && p === h.toString()) && q.addClass(b, "result-item-selected")
}))
}
},