pressing tab with quicktab hides leaderboards

This commit is contained in:
Miodec 2022-02-01 14:22:17 +01:00
parent 9ecd6e0147
commit 5bb5715475

View file

@ -24,6 +24,7 @@ import * as ShiftTracker from "./shift-tracker";
import * as Replay from "./replay.js";
import * as MonkeyPower from "./monkey-power";
import * as WeakSpot from "./weak-spot";
import * as Leaderboards from "./leaderboards";
let dontInsertSpace = false;
let correctShiftUsed = true;
@ -603,6 +604,9 @@ function handleTab(event) {
) {
if (UI.getActivePage() == "pageTest") {
if (Config.quickTab) {
if (!$("#leaderboardsWrapper").hasClass("hidden")) {
Leaderboards.hide();
}
if (
TestUI.resultVisible ||
!(