From 86a447fc0e5dc66940c53e1a21d7f490c6884b4c Mon Sep 17 00:00:00 2001 From: Andres Suarez Date: Tue, 16 Sep 2014 12:13:11 -0400 Subject: [PATCH] Allow selecting metric from Insert Metric Change-Id: I99e0539cab2749a8aeabc0a13015889ff45834f7 --- web/static/js/graph.js | 1 - 1 file changed, 1 deletion(-) diff --git a/web/static/js/graph.js b/web/static/js/graph.js index 4d68620c4..273986163 100644 --- a/web/static/js/graph.js +++ b/web/static/js/graph.js @@ -134,7 +134,6 @@ Prometheus.Graph.prototype.initialize = function() { self.expr.selection("replace", {text: self.insertMetric.val(), mode: "before"}); self.insertMetric.focus(); // refocusing }); - self.insertMetric.click(function() { self.expr.focus() }); self.expr.focus(); // TODO: move to external Graph method.