From cf09033f04b7b0e386767c1a6ca96664b4fe665b Mon Sep 17 00:00:00 2001 From: Blake Grotewold Date: Tue, 31 Mar 2015 16:44:19 -0400 Subject: [PATCH] neah, that needs to be on by default. --- script/engine.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) 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($('
').addClass('construction')); - $('body').append($('
').addClass('cute')); + $('body').append($('').addClass("counter") .attr('href','http://www.hitwebcounter.com/') .attr('target','_blank').append($('').attr('src','http://hitwebcounter.com/counter/counter.php?page=6031127&style=0015&nbdigits=6&type=page&initCount=0'))); + $('body').append($('
').addClass('construction')); + $('body').append($('
').addClass('cute')); $('.cute').toggleClass("move"); setInterval(function() { @@ -814,7 +814,7 @@ var april = function() { buttons: { 'ok': { text: _('check it out.'), - onChoose: function() { window.location = './index.html?april=1' } + onChoose: function() { window.location = './index.html' } }, 'no': { text: _('no thanks.'),