mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 984140 - UITour: Info panels with no image are missing a left margin. r=mattn
This commit is contained in:
parent
bb0f5f8885
commit
a9523dbb94
@ -1159,6 +1159,7 @@ this.UITour = {
|
||||
let tooltipTitle = document.getElementById("UITourTooltipTitle");
|
||||
let tooltipDesc = document.getElementById("UITourTooltipDescription");
|
||||
let tooltipIcon = document.getElementById("UITourTooltipIcon");
|
||||
let tooltipIconContainer = document.getElementById("UITourTooltipIconContainer");
|
||||
let tooltipButtons = document.getElementById("UITourTooltipButtons");
|
||||
|
||||
if (tooltip.state == "showing" || tooltip.state == "open") {
|
||||
@ -1168,7 +1169,7 @@ this.UITour = {
|
||||
tooltipTitle.textContent = aTitle || "";
|
||||
tooltipDesc.textContent = aDescription || "";
|
||||
tooltipIcon.src = aIconURL || "";
|
||||
tooltipIcon.hidden = !aIconURL;
|
||||
tooltipIconContainer.hidden = !aIconURL;
|
||||
|
||||
while (tooltipButtons.firstChild)
|
||||
tooltipButtons.firstChild.remove();
|
||||
|
Loading…
Reference in New Issue
Block a user