diff --git a/index.html b/index.html index 8fbab6f..1c4b531 100644 --- a/index.html +++ b/index.html @@ -70,8 +70,10 @@
Tweet - - + +
diff --git a/js/initialization.js b/js/initialization.js index 34adc2d..03de230 100644 --- a/js/initialization.js +++ b/js/initialization.js @@ -1,8 +1,17 @@ $(document).ready(function(){ initialize(); + hidebottombar(); }); +function showbottombar() { + $('#bottombar').show(); +} + +function hidebottombar() { + $('#bottombar').hide(); +} + function initialize(a) { //view.js window.colors = ["#e74c3c", "#f1c40f", "#3498db", "#2ecc71"]; diff --git a/js/main.js b/js/main.js index 29f57ae..8e4cdb5 100644 --- a/js/main.js +++ b/js/main.js @@ -63,6 +63,7 @@ function hideUIElements() { function init(b) { if (b) { + hidebottombar(); if (!$('.helpText').is(":visible")) { $('.helpText').fadeIn(150, "linear"); } @@ -229,7 +230,7 @@ function animLoop() { if ($('#helpScreen').is(':visible')) { $('#helpScreen').fadeOut(150, "linear"); } - + showbottombar(); canRestart = 0; clearSaveState(); } diff --git a/js/view.js b/js/view.js index 1443a4c..4097194 100644 --- a/js/view.js +++ b/js/view.js @@ -221,11 +221,13 @@ function pause(o) { $('.helpText').hide(); hideText(); + hidebottombar(); gameState = prevGameState; } else if(gameState != -2 && gameState !== 0 && gameState !== 2) { $('.helpText').show(); + showbottombar(); if (message == 'paused') { showText(message); } diff --git a/style/style.css b/style/style.css index 2652487..29de3ba 100644 --- a/style/style.css +++ b/style/style.css @@ -193,7 +193,6 @@ and (max-device-width : 580px) { font-size:.6em; } - .centeredSubHeader { font-size:1em; text-align:center;