Skip to content

Commit

Permalink
fix(loading): timeout increased
Browse files Browse the repository at this point in the history
  • Loading branch information
yoyurec committed Oct 13, 2022
1 parent 2cfbef8 commit 40d0e95
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/awesomeLinks.ts
Expand Up @@ -28,11 +28,11 @@ const runStuff = async () => {
pageIconsLoad();
faviconsLoad();
journalIconsLoad();
sidebarIconsLoad();
nerdFontLoad();
body.classList.add('is-awesomeLinks');
}, 1000)
}, 2000)
setTimeout(() => {
sidebarIconsLoad();
if (globalContext.pluginConfig?.featureFaviconsEnabled || globalContext.pluginConfig?.featurePageIconsEnabled) {
runLinksObserver();
}
Expand Down
1 change: 0 additions & 1 deletion src/modules/sidebarIcon/sidebarIcon.ts
Expand Up @@ -27,7 +27,6 @@ export const setSidebarIcons = async (sidebarLinksList?: NodeListOf<HTMLAnchorEl
}
const pageColor = pageProps['color'];
if (pageColor) {
console.log(pageColor);
sidebarLinkItem.style.color = pageColor.replaceAll('"', '');
}
}
Expand Down

0 comments on commit 40d0e95

Please sign in to comment.