Fix graph page for IE11 (#4148)
Signed-off-by: bege13mot <bege13mot@gmail.com>
This commit is contained in:
parent
390e260bd9
commit
b3441cb0e7
File diff suppressed because one or more lines are too long
|
@ -262,7 +262,7 @@ Prometheus.Graph.prototype.initTypeahead = function(self) {
|
||||||
const source = queryHistory.isEnabled() ? pageConfig.queryHistMetrics.concat(pageConfig.allMetrics) : pageConfig.allMetrics;
|
const source = queryHistory.isEnabled() ? pageConfig.queryHistMetrics.concat(pageConfig.allMetrics) : pageConfig.allMetrics;
|
||||||
self.expr.typeahead({
|
self.expr.typeahead({
|
||||||
autoSelect: false,
|
autoSelect: false,
|
||||||
source,
|
source: source,
|
||||||
items: "all",
|
items: "all",
|
||||||
matcher: function (item) {
|
matcher: function (item) {
|
||||||
// If we have result for current query, skip
|
// If we have result for current query, skip
|
||||||
|
|
Loading…
Reference in New Issue