Powered by phpBB™ • Design by PlanetStyles
{{ TRANSLATION_INFO }}
{{ DEBUG_OUTPUT }}
{RUN_CRON_TASK}
{$SCRIPTS}
$("i.dark_toggle_icon").addClass("fa-moon-o"); $("i.dark_toggle_icon").addClass("fa-lightbulb-o"); // No cookie: Click function $("a.dark_toggle_link").click(function() { $("link.colour_switch_link").attr("href",dark_stylesheet_src); $("body").addClass("dark_base"); $("link.colour_switch_link").attr("href",light_stylesheet_src); //Replace this with just clearing the cookie? Cookies.set('Dark_Toggle_Cookie', $("link.colour_switch_link").attr('href'), { expires: 365, path: '/' }); location.reload(); }); } -->