Update chatSidebarBackground to use the same structure as startingSidebarTab and move init hook into the main entrypoint
This commit is contained in:
parent
321a4ab0eb
commit
8ca82c2cc1
3 changed files with 29 additions and 34 deletions
|
|
@ -1,15 +1,10 @@
|
|||
import { __ID } from "../consts.mjs";
|
||||
import { chatSidebarBackground } from "../settings/chatSidebarBackground.mjs";
|
||||
import { preventUserConfigOpen } from "../settings/preventUserConfigOpen.mjs";
|
||||
import { startingSidebarTab } from "../settings/startingSidebarTab.mjs";
|
||||
import { startSidebarExpanded } from "../settings/startSidebarExpanded.mjs";
|
||||
|
||||
Hooks.once(`init`, () => {
|
||||
console.log(`${__ID} | Initializing`);
|
||||
|
||||
chatSidebarBackground.register();
|
||||
preventUserConfigOpen.register();
|
||||
startSidebarExpanded.register();
|
||||
|
||||
startingSidebarTab();
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue