Remove custom highlight code, it's not needed. (#5163)
Signed-off-by: Brian Brazil <brian.brazil@robustperception.io>
This commit is contained in:
parent
10ae00ab9d
commit
b03d6f6eff
File diff suppressed because one or more lines are too long
|
@ -310,11 +310,7 @@ Prometheus.Graph.prototype.initTypeahead = function(self) {
|
|||
return i === 0 ? a.localeCompare(b) : i;
|
||||
});
|
||||
return items;
|
||||
},
|
||||
|
||||
highlighter: function (item) {
|
||||
return $("<div>" + self.fuzzyResult.map[item].string + "</div>");
|
||||
},
|
||||
}
|
||||
});
|
||||
// This needs to happen after attaching the typeahead plugin, as it
|
||||
// otherwise breaks the typeahead functionality.
|
||||
|
|
Loading…
Reference in New Issue