mirror of
https://github.com/lissy93/networking-toolbox.git
synced 2026-11-26 07:33:23 +03:00
Removes obsolete debugs
This commit is contained in:
1 parent
25ce3708d1
commit
194ba7a083
1 file changed
-10
@@ -64,17 +64,7 @@ function loadCustomFont(fontConfig: { name: string; url: string; fallback?: stri
|
||||
if (fontLoaded) {
|
||||
document.documentElement.classList.remove('fonts-loading');
|
||||
document.documentElement.classList.add('fonts-loaded');
|
||||
logger.debug(`Font loaded successfully: ${fontFamily}`, {
|
||||
font: fontFamily,
|
||||
component: 'ThemeStore',
|
||||
});
|
||||
} else {
|
||||
// Font stylesheet loaded but font not available yet
|
||||
logger.debug(`Font stylesheet loaded, waiting for font: ${fontFamily}`, {
|
||||
font: fontFamily,
|
||||
component: 'ThemeStore',
|
||||
});
|
||||
|
||||
// Set a timeout fallback (3 seconds)
|
||||
setTimeout(() => {
|
||||
document.documentElement.classList.remove('fonts-loading');
|
||||
|
||||
Reference in new issue
Block a user