[MIRROR] focus statpanel content on tab change (#9337)

Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
CHOMPStation2StaffMirrorBot
2024-10-28 14:05:13 -07:00
committed by GitHub
parent 4597d3338f
commit 4d91a0fe19

View File

@@ -62,6 +62,7 @@ function createStatusTab(name) {
button.onclick = function () { button.onclick = function () {
tab_change(name); tab_change(name);
this.blur(); this.blur();
statcontentdiv.focus();
}; };
button.id = name; button.id = name;
button.textContent = name; button.textContent = name;