removed dependencies

fixes 1 circular dependency
part of #2462
This commit is contained in:
Miodec 2022-02-11 01:22:14 +01:00
parent e715c8cd22
commit 89221dd325
3 changed files with 1 additions and 5 deletions

View file

@ -2,7 +2,6 @@ import * as Notifications from "../elements/notifications";
import Config, * as UpdateConfig from "../config";
import * as AccountButton from "../elements/account-button";
import * as Account from "../pages/account";
import * as CommandlineLists from "../elements/commandline-lists";
import * as VerificationController from "./verification-controller";
import * as Misc from "../misc";
import * as Settings from "../pages/settings";
@ -55,7 +54,6 @@ async function loadUser(user) {
$(".pageLogin .preloader").addClass("hidden");
// showFavouriteThemesAtTheTop();
CommandlineLists.updateThemeCommands();
let text = "Account created on " + user.metadata.creationTime;

View file

@ -166,6 +166,7 @@ export let show = () => {
);
}
$("#commandLine input").val("");
CommandlineLists.updateThemeCommands();
updateSuggested();
$("#commandLine input").focus();
};

View file

@ -2,7 +2,6 @@ import Config, * as UpdateConfig from "../config";
import * as ThemeController from "../controllers/theme-controller";
import * as Misc from "../misc";
import * as Notifications from "../elements/notifications";
import * as CommandlineLists from "../elements/commandline-lists";
import * as ThemeColors from "../elements/theme-colors";
import * as ChartController from "../controllers/chart-controller";
@ -165,8 +164,6 @@ function toggleFavourite(themename) {
}
UpdateConfig.saveToLocalStorage();
refreshButtons();
// showFavouriteThemesAtTheTop();
CommandlineLists.updateThemeCommands();
}
export function updateActiveTab() {