From a92699fe4dc303131dbdf521a9df7617f473c9de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=81lvaro=20Velad=20Galv=C3=A1n?= Date: Thu, 11 Jun 2026 10:40:06 +0200 Subject: [PATCH] fix(UI): Fix visibility of the ad statistics panel (#10203) --- ui/ad_statistics_button.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/ad_statistics_button.js b/ui/ad_statistics_button.js index 1d4cdfc85..6d09c8ba7 100644 --- a/ui/ad_statistics_button.js +++ b/ui/ad_statistics_button.js @@ -179,7 +179,7 @@ shaka.ui.AdStatisticsButton = class extends shaka.ui.Element { this.currentStats_.skipped > 0 || this.currentStats_.errors > 0; shaka.ui.Utils.setDisplay(this.button_, !this.isSubMenuOpened && hasStats); - if (hasStats && !this.container_.classList.contains('shaka-hidden')) { + if (!hasStats && !this.container_.classList.contains('shaka-hidden')) { this.onClick_(); } }