File size: 659 Bytes
7124801
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Feather Icons Fix - Ensure icons are properly loaded
class FeatherIconsFix extends HTMLElement {
    connectedCallback() {
        console.log('TaskForge Pro: Feather icons fix component loaded');
        
        // Wait for DOM to be fully ready
        setTimeout(() => {
            if (typeof feather !== 'undefined') {
                console.log('TaskForge Pro: Feather icons library found, replacing icons...');
                feather.replace();
            } else {
                console.warn('TaskForge Pro: Feather icons library not found');
            }
        }, 100);
    }
}

customElements.define('feather-icons-fix', FeatherIconsFix);