website: try to fix flashing of tagline
This commit is contained in:
parent
24481b6269
commit
429812b818
|
@ -2,7 +2,7 @@
|
||||||
<div id="jumbotron-mask">
|
<div id="jumbotron-mask">
|
||||||
<div id="jumbotron">
|
<div id="jumbotron">
|
||||||
<div class="jumbotron-content" id="jumbotron-content">
|
<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>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -64,6 +64,7 @@ Engine = Base.extend({
|
||||||
|
|
||||||
startEngine: function(){
|
startEngine: function(){
|
||||||
var parent = this.canvas.parentNode;
|
var parent = this.canvas.parentNode;
|
||||||
|
document.getElementById('tag-line').style.display = 'inline-block';
|
||||||
|
|
||||||
this.background.className += ' show';
|
this.background.className += ' show';
|
||||||
this.canvas.style.opacity = 1;
|
this.canvas.style.opacity = 1;
|
||||||
|
|
|
@ -68,7 +68,7 @@ var Init = {
|
||||||
'page-home': function(){
|
'page-home': function(){
|
||||||
if (isIE) {
|
if (isIE) {
|
||||||
document.getElementById('jumbotron').className += ' static';
|
document.getElementById('jumbotron').className += ' static';
|
||||||
document.getElementById('tag-line').style.visibility = 'visible';
|
document.getElementById('tag-line').style.display = 'inline-block';
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue