mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-12-09 12:56:07 +08:00
parent
a8d0d807f2
commit
099cbe4d8f
2 changed files with 2 additions and 3 deletions
|
|
@ -2,7 +2,6 @@ import * as Misc from "../misc";
|
|||
import * as DB from "../db";
|
||||
import Config from "../config";
|
||||
import * as Notifications from "../elements/notifications";
|
||||
import * as Account from "../pages/account";
|
||||
|
||||
export let defaultResultFilters = {
|
||||
difficulty: {
|
||||
|
|
@ -269,8 +268,6 @@ export function updateActive() {
|
|||
chartString += addText("tags");
|
||||
|
||||
$(".pageAccount .group.chart .above").html(chartString);
|
||||
|
||||
Account.update();
|
||||
}
|
||||
|
||||
export function toggle(group, filter) {
|
||||
|
|
|
|||
|
|
@ -658,6 +658,7 @@ export function update() {
|
|||
console.error(e);
|
||||
ResultFilters.reset();
|
||||
ResultFilters.updateActive();
|
||||
update();
|
||||
}
|
||||
//filters done
|
||||
//=======================================
|
||||
|
|
@ -1072,6 +1073,7 @@ export function update() {
|
|||
TodayTracker.addAllFromToday();
|
||||
if (d) {
|
||||
ResultFilters.updateActive();
|
||||
update();
|
||||
} else {
|
||||
setTimeout(() => {
|
||||
UI.changePage("");
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue