Correctly initialise plugin card tooltip positions.

This commit is contained in:
Oliver Hamlet
2015-02-02 15:16:34 +00:00
parent 4482c306a2
commit c491e1a4ef
@@ -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();
}
}
},