diff --git a/browser/modules/UITour.jsm b/browser/modules/UITour.jsm index 48448e8c3370..23547aadd8f8 100644 --- a/browser/modules/UITour.jsm +++ b/browser/modules/UITour.jsm @@ -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();