From 639ea1f60d51e6cf0ed7f2c246de1cf0cd09867d Mon Sep 17 00:00:00 2001 From: Timm Date: Sat, 18 Apr 2015 21:18:24 +0200 Subject: [PATCH] look mom, i'm breaking the page! --- js/eyecandy.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/eyecandy.js b/js/eyecandy.js index f779778..9c61f90 100644 --- a/js/eyecandy.js +++ b/js/eyecandy.js @@ -98,7 +98,7 @@ function resize() { var element = document.getElementById('demo-canvas'); - if(element.style.display != 'none') { + if(element.style.display == 'none') { animateHeader = false; } else { animateHeader = true;