Fix not showing Bx button in unsupported page

This commit is contained in:
redphx 2024-12-12 06:35:07 +07:00
parent 9f5f7b9d2e
commit cb66340177

View File

@ -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);