website: try to fix flashing of tagline

This commit is contained in:
Jack Pearkes 2014-07-28 08:51:16 -04:00
parent 24481b6269
commit 429812b818
3 changed files with 3 additions and 2 deletions

View File

@ -2,7 +2,7 @@
<div id="jumbotron-mask">
<div id="jumbotron">
<div class="jumbotron-content" id="jumbotron-content">
<h2 class="tag-line" id="tag-line">Build, Combine, and Launch Infrastucture</h2>
<h2 class="tag-line" id="tag-line" style="display: none;">Build, Combine, and Launch Infrastucture</h2>
</div>
</div>
</div>

View File

@ -64,6 +64,7 @@ Engine = Base.extend({
startEngine: function(){
var parent = this.canvas.parentNode;
document.getElementById('tag-line').style.display = 'inline-block';
this.background.className += ' show';
this.canvas.style.opacity = 1;

View File

@ -68,7 +68,7 @@ var Init = {
'page-home': function(){
if (isIE) {
document.getElementById('jumbotron').className += ' static';
document.getElementById('tag-line').style.visibility = 'visible';
document.getElementById('tag-line').style.display = 'inline-block';
return;
}