fixed linking issue with my other websites
This commit is contained in:
parent
82b2b8a94b
commit
7180fc91fc
@ -57,7 +57,7 @@ bool setTheme(bool dark) {
|
||||
void themeSwitch(bool isDark) {
|
||||
querySelector('.fas').className = 'fas fa-' + (isDark ? 'sun' : 'moon');
|
||||
querySelector('#theme').attributes['href'] =
|
||||
'/css/' + (isDark ? 'dark' : 'light') + '.css';
|
||||
'https://langue.phundrak.com/css/' + (isDark ? 'dark' : 'light') + '.css';
|
||||
}
|
||||
|
||||
void themeSwitchMouse(MouseEvent event) {
|
||||
|
Reference in New Issue
Block a user