From 9163db02b420a53ceec8d927e26b6bf151d68e00 Mon Sep 17 00:00:00 2001 From: Peter Holmberg Date: Fri, 9 Nov 2018 14:32:14 +0100 Subject: [PATCH] fix in to not render multiple labels --- public/vendor/flot/jquery.flot.gauge.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/vendor/flot/jquery.flot.gauge.js b/public/vendor/flot/jquery.flot.gauge.js index 14866dbef20..e0a3a33533d 100644 --- a/public/vendor/flot/jquery.flot.gauge.js +++ b/public/vendor/flot/jquery.flot.gauge.js @@ -583,7 +583,7 @@ * @param {Number} [a] the angle of the value drawn */ function drawText(x, y, id, text, textOptions, a) { - var span = $("." + id, placeholder); + var span = $(placeholder).find("#" + id); var exists = span.length; if (!exists) { span = $("")