From cb6634017796cea8f77f3d29e0542600708751b2 Mon Sep 17 00:00:00 2001 From: redphx <96280+redphx@users.noreply.github.com> Date: Thu, 12 Dec 2024 06:35:07 +0700 Subject: [PATCH] Fix not showing Bx button in unsupported page --- src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index bd790a7..8a4bf70 100755 --- a/src/index.ts +++ b/src/index.ts @@ -191,7 +191,7 @@ window.addEventListener('popstate', onHistoryChanged); window.history.pushState = patchHistoryMethod('pushState'); window.history.replaceState = patchHistoryMethod('replaceState'); -BxEventBus.Script.once('xcloudServerUnavailable', () => { +BxEventBus.Script.once('xcloud.server.unavailable', () => { STATES.supportedRegion = false; window.setTimeout(HeaderSection.watchHeader, 2000);