mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-09-11 09:06:36 +08:00
fix: offline banner not hidden when going online
This commit is contained in:
parent
e52df88369
commit
4d9871921f
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@ const throttledHandleState = debounce(5000, () => {
|
|||
customTitle: "Connection",
|
||||
});
|
||||
$(
|
||||
`#bannerCenter .banner[id="${noInternetBannerId}"] .closeButton`
|
||||
`#bannerCenter .psa.notice[id="${noInternetBannerId}"] .closeButton`
|
||||
).trigger("click");
|
||||
}
|
||||
bannerAlreadyClosed = false;
|
||||
|
|
Loading…
Add table
Reference in a new issue