From 75f0b138cb7f693ece68ec33d182c879e18c915d Mon Sep 17 00:00:00 2001 From: Lucien Cartier-Tilet Date: Wed, 27 Nov 2019 11:32:46 +0100 Subject: [PATCH] fixed deprecated link --- js/main.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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('