fixed linking issue with my other websites

This commit is contained in:
Lucien Cartier-Tilet 2020-02-14 16:15:22 +01:00
parent 82b2b8a94b
commit 7180fc91fc
Signed by: phundrak
GPG Key ID: BD7789E705CB8DCA

View File

@ -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) {