Difference between revisions of User:Viceroy Sam/nightpedia.js
Jump to navigation
Jump to search
Viceroy Sam (talk | contribs) (lightsOn) |
Viceroy Sam (talk | contribs) (upd) |
||
| Line 1: | Line 1: | ||
//<nowiki> | //<nowiki> | ||
$(function() { | $(function() { | ||
lightsOn(); | |||
function lightsOn() { | function lightsOn() { | ||
| Line 21: | Line 11: | ||
mw.storage.set('nightpedia', 'off'); | mw.storage.set('nightpedia', 'off'); | ||
} | } | ||
}); | }); | ||
//</nowiki> | //</nowiki> | ||
Revision as of 01:50, 14 June 2020
//<nowiki>
$(function() {
lightsOn();
function lightsOn() {
$('html').removeClass('nighttime');
$('#pt-nightpedia a').text('Nightpedia');
mw.storage.set('nightpedia', 'off');
}
});
//</nowiki>