Difference between revisions of User:Viceroy Sam/nightpedia.js
Viceroy Sam (talk | contribs) https://wiki.endmyopia.org/index.php?title=User:MusikAnimal/nightpedia.css&action=raw&ctype=text/css |
m NottNott moved page User:Sam.Watson/nightpedia.js to User:Viceroy Sam/nightpedia.js: Automatically moved page while renaming the user "Sam.Watson" to "Viceroy Sam" |
||
| (8 intermediate revisions by one other user not shown) | |||
| Line 23: | Line 23: | ||
function lightsOff() { | function lightsOff() { | ||
if(!cssLoaded) { | if(!cssLoaded) { | ||
$('head').append(mw.loader.load('https://wiki.endmyopia.org/index.php?title=User: | $('head').append(mw.loader.load('https://wiki.endmyopia.org/index.php?title=User:Sam.Watson/nightpedia.css&action=raw&ctype=text/css', 'text/css')); | ||
} | } | ||
$('html').addClass('nighttime'); | $('html').addClass('nighttime'); | ||