Unverified Commit b03d6f6e authored by Goutham Veeramachaneni's avatar Goutham Veeramachaneni Committed by GitHub
Browse files

Remove custom highlight code, it's not needed. (#5163)


Signed-off-by: default avatarBrian Brazil <brian.brazil@robustperception.io>
parent 10ae00ab
This diff is collapsed.
......@@ -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.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment