mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
fix in to not render multiple labels
This commit is contained in:
2
public/vendor/flot/jquery.flot.gauge.js
vendored
2
public/vendor/flot/jquery.flot.gauge.js
vendored
@@ -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 = $("<span></span>")
|
||||
|
||||
Reference in New Issue
Block a user