MediaWiki:Gadget-LightToggle.js: Difference between revisions

m
no edit summary
mNo edit summary
mNo edit summary
Line 22: Line 22:
$(function() {
$(function() {
var isLight = false;
var isLight = false;
var toggleText = 'Day theme';
var toggleText = 'Light theme';
if (getCookie('darkTheme') == 'off') {
if (getCookie('darkTheme') == 'off') {
toggleText = 'Night theme';
toggleText = 'Night theme';