diff --git a/js/main.js b/js/main.js index fb58499..b520f63 100644 --- a/js/main.js +++ b/js/main.js @@ -43,16 +43,16 @@ function create_theme_switcher() { $('body').append('
')); // set the correct css file in the HTML head - $('head').append('')); + $('head').append('')); // switch CSS files and button icon, set new cookie on theme switcher click $('.themeBtn').click(function() { var light = !isThemeLight(); // Switch the CSS between light and dark - $("#theme").first().attr('href', 'https://langue.phundrak.fr/css/' - .concat(light ? 'light' : 'dark') - .concat('.css')); + $("#theme").first().attr('href', 'https://langue.phundrak.com/css/' + .concat(light ? 'light' : 'dark') + .concat('.css')); // Switch the icon in the theme switcher button $('.themeBtn').html('