mirror of
https://github.com/pi-hole/web.git
synced 2025-12-24 12:48:29 +00:00
unicorn/prefer-dom-node-append
Signed-off-by: Dan Schaper <dan.schaper@pi-hole.net>
This commit is contained in:
@@ -49,7 +49,7 @@ var customTooltips = function (tooltip) {
|
||||
tooltipEl.style.fontStyle = tooltip._bodyFontStyle;
|
||||
// append Tooltip next to canvas-containing box
|
||||
tooltipEl.ancestor = this._chart.canvas.closest(".box[id]").parentNode;
|
||||
tooltipEl.ancestor.appendChild(tooltipEl);
|
||||
tooltipEl.ancestor.append(tooltipEl);
|
||||
}
|
||||
|
||||
// Hide if no tooltip
|
||||
|
||||
Reference in New Issue
Block a user