mirror of
https://github.com/timberjoegithub/grafana-statusmap.git
synced 2026-07-21 23:42:03 +00:00
+1
-1
@@ -174,7 +174,7 @@ function drawDiscreteColorLegend(elem, colorOptions, discreteHelper) {
|
||||
.each(function(d,i) {
|
||||
let thisWidth = this.getBBox().width;
|
||||
textWidth.push(thisWidth);
|
||||
this.remove(); // remove them just after displaying them
|
||||
this.parentElement.removeChild(this); // remove them just after displaying them in IE friendly way
|
||||
});
|
||||
|
||||
let legendWidth = Math.floor(_.min([
|
||||
|
||||
Reference in New Issue
Block a user