look mom, i'm breaking the page!

This commit is contained in:
Timm 2015-04-18 21:05:38 +02:00
parent c700cd15ed
commit c40fe33d4a
1 changed files with 2 additions and 0 deletions

View File

@ -100,6 +100,8 @@
var element = document.getElementById('demo-canvas');
if(element.style.display != 'none') {
animateHeader = false;
} else {
animateHeader = true;
}
width = window.innerWidth;