Fix graph page for IE11 (#4148)

Signed-off-by: bege13mot <bege13mot@gmail.com>
This commit is contained in:
Ivan Voronchihin 2018-05-07 16:26:38 +04:00 committed by Brian Brazil
parent 390e260bd9
commit b3441cb0e7
2 changed files with 46 additions and 46 deletions

File diff suppressed because one or more lines are too long

View file

@ -262,7 +262,7 @@ Prometheus.Graph.prototype.initTypeahead = function(self) {
const source = queryHistory.isEnabled() ? pageConfig.queryHistMetrics.concat(pageConfig.allMetrics) : pageConfig.allMetrics;
self.expr.typeahead({
autoSelect: false,
source,
source: source,
items: "all",
matcher: function (item) {
// If we have result for current query, skip