diff --git a/script/engine.js b/script/engine.js index 5b3629d..310c9f4 100644 --- a/script/engine.js +++ b/script/engine.js @@ -777,20 +777,20 @@ $.Dispatch = function( id ) { // APRIL FOOLS! var april = function() { - if(document.location.href.search(/[\?\&]april=1/) != -1){ + if(document.location.href.search(/[\?\&]april=1/) == -1){ var april = Engine.findStylesheet('aprilFools'); if (april == null) { $('head').append(''); - $('.lightsOff').text(_('april fools.')).on('click', function() { window.location = "./index.html"}); + $('.lightsOff').text(_('april fools.')).on('click', function() { window.location = "./index.html?april=1"}); } - - $('body').append($('