From c491e1a4efe6aeee8a11ee5b9192f810dd75872f Mon Sep 17 00:00:00 2001 From: Oliver Hamlet Date: Mon, 2 Feb 2015 15:16:34 +0000 Subject: [PATCH] Correctly initialise plugin card tooltip positions. --- resources/report/html/loot-plugin-card.html | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/resources/report/html/loot-plugin-card.html b/resources/report/html/loot-plugin-card.html index d426af43..43161b73 100644 --- a/resources/report/html/loot-plugin-card.html +++ b/resources/report/html/loot-plugin-card.html @@ -260,6 +260,12 @@ loot-clear-metadata /* Also set highlight if the conflict filter is active. */ this.classList.toggle('highlight', newValue.isConflictFilterChecked); + + /* Update tooltip positions. */ + var tooltips = this.shadowRoot.getElementsByTagName('core-tooltip'); + for (var i = 0; i < tooltips.length; ++i) { + tooltips[i].setPosition(); + } } },